[Wtr-general] How to click an image button
Prema Arya
prema.arya at gmail.com
Mon Jan 29 07:55:26 EST 2007
Hi,
This code will click the image with name like Login_button.jpg
ie.image(:src, /Login_button.jpg/).click
Prema
On 1/29/07, ankur <forum-watir-users at openqa.org> wrote:
>
> Hi all
>
> I am automating test cases for a web application . Can someone please tell
> me how to click on a button which has its value as a image .The code in Html
> says
>
> img src="images/af/Login_button.jpg"
>
> looking for an early response......
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=6309&messageID=17751#17751
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
--
Prema Arya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070129/b37d9ced/attachment-0001.html
More information about the Wtr-general
mailing list