Xbiton wrote:
Hi,I've doing some tests with win32::IEAutomation. when I try to access a Table: for my $a (@atbl){ my @allRows = $a->rows; for my $in(@allRows){ my @allCell = $in->cells; for my $y (@allCell){ print $y->cellText; } } } Can't locate object method "rows" via package "Win32::IEAutomation::Element" at C:\Documents and Settings\xxxx \Desktop\mechanize_tests\iebiofach.pl line 19.
Whatever you have done to populate your @atbl array has filled it with Win32::IEAutomation::Element objects, which have no rows() method. You should be calling @atbl = $ie->getAllTables; to get an array of Win32::IEAutomation::Table objects, which /does/ have a rows() method. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
