<input type="image" name="xxx">  is really a button, so you should do:
 
ie.button(:src, '/Images/xxx.gif').click
 
Zeljko

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex GLove
Sent: Tuesday, August 23, 2005 3:41 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] <input type="image" name="xxx"> How to use it inWatir?

Hi guys,

I am trying to make watir to click on an <input type="image" name="xxx"> object but with no luck.

I tried both:
ie.image(:src, '/Images/xxx.gif').click
ie.image(:id,Your DIsco needs you').click

what am I supposed to enter?

many thanks
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to