Subject: | Unable to call click object in Table with "Win32::IEAutomation::Table" package |
Hi,
I am involved in automating a web page which is based out of Java. In
this automation, i have written the below script to click or select a
cell from a table.
###############################################################
#!/usr/bin/perl
use Win32::IEAutomation;
use Win32::IEAutomation::Table;
use Win32::IEAutomation::Element;
use Win32::IEAutomation::WinClicker;
my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);
my $clicker = Win32::IEAutomation::WinClicker->new();
$ie->gotoURL('http://xxxxxxxxxxxx.com');
my $mytable = $ie->getTable("id:", "folderListTable");
my $tblcel = $mytable->tableCells(1,1)->Click();
##############################################################
Output message:
Can't locate object method "Click" via
package "Win32::IEAutomation::Table" at test.pl line 22.
I am using Windows XP OS.Perl Version " v5.8.8 built for MSWin32-x86-
multi-thread".
I have seen similar issues posted in many other sites. But could not
get reolusiton of the same.