[Wtr-general] clicking on Active Element buttons
Zeljko Filipin
zeljko.filipin at gmail.com
Wed May 10 03:56:57 EDT 2006
If you want to click this image
<IMG src="images/spacer.gif">
you can use
ie.image(:src, /spacer/).click
ie.image(:src, /images\/spacer\.gif/).click
...
If you want to click this link
<A id=continue_btn title="Continue with Rate Plan"></A>
you can use
ie.link(:id, "continue_btn").click
ie.link(:title, "Continue with Rate Plan").click
...
It looks to me that you are little confused what is a button, what is a
image, what is a link... If I am correct, this link will help you
http://www.w3schools.com/html/default.asp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060510/96d1cbf2/attachment.html
More information about the Wtr-general
mailing list