I am using Win32::IE Automation to automate login of a page.

I could provide username and password in the respectivve fields,But the
login is a image on which I need to click. Below is the page source for
that login image .

<a href="javascript:myjavascritp();"><img src="aa/bb/cc/dd/img_1.jpg"
 width="69" height="22" border="0"> </a></div>

So to click on the image I am doing the following.


I used $ie->getImage('imgurl:', qr/img_1.jpg/)->Click();
It says "Can't call method "Click" on an undefined value"
When I try to get all the images on the page Using

my @array=$ie->getAllImages();
print Dumper (@images)

It sas "Out OF memory".
How can I Click on the above mentioned image.

Any Inputs appreciated

Thanks
Pra

Reply via email to