Hi!
If it works, go with it. :)
Sometimes it's difficult to discern exactly what to click on to
perform the desired action. What looks like a button may actually use
a link to perform the action (as in your case). I've also run into
cases where what looks like a link is actually a span. When
Thanks a lot!
I'll try that suggestions, but I have tried this way ie.link(:text,
"Log In").click and it worked.
What do you think about that method?
Thanks again,
Rodrigo
On 20 nov, 13:46, orde wrote:
> .image is the correct method. You might find this page
> useful:http://wtr.rubyforge.or
.image is the correct method. You might find this page useful:
http://wtr.rubyforge.org/rdoc/classes/Watir/Container.html
Also, this (very useful) page summarizes the methods supported by
element:
http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element
Hope that helps.
orde
Hi Rodrigo!
Clicking an image works for me in the apps I've tested. Have you
tried this?
ie.image(:src, /manage-account/).click
Hope this helps!
-Tiffany
On Nov 20, 8:49 am, Rodrigo wrote:
> Hi everybody,
>
> I'm having some issues working with img tags. I've tried some methods
> like ie.bu