Hey Andrew, <br><br> Without seeing the html for the button you're trying to click, this is the general idea, use the src attribute and then best off for a regular expression in the source for what you're looking for. <br>
<br>ie.image(:src, /mybutton/).click<br><br>Cheers, <br><br>Charley<br><br><div><span class="gmail_quote">On 8/2/06, <b class="gmail_sendername">Andrew McFarlane</b> <<a href="mailto:welkin_inc@hotmail.com">welkin_inc@hotmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">So, if I have an image button that does not have a name, id, or alt<br>
attribute value, but does have a src attribute value, I cannot click it?<br><br>Thanks.<br><br>Andrew<br><br>>ie.image(:name, 'xxx').click<br><br>At 08:41 AM 8/23/2005, Alex GLove wrote:<br><br> Hi guys,<br><br><br>
I am trying to make watir to click on an <input type="image" name="xxx"><br>object but with no luck.<br><br> I tried both:<br> ie.image(:src, '/Images/xxx.gif').click<br> ie.image(:id,Your DIsco needs you').click
<br><br> what am I supposed to enter?<br><br> many thanks<br> _______________________________________________<br> Wtr-general mailing list<br> <a href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org
</a><br> <a href="http://rubyforge.org/mailman/listinfo/wtr-general">http://rubyforge.org/mailman/listinfo/wtr-general</a><br><br>_____________________<br>Bret Pettichord<br><a href="http://www.pettichord.com">www.pettichord.com
</a><br><br>_______________________________________________<br>Wtr-general mailing list<br><a href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/wtr-general">
http://rubyforge.org/mailman/listinfo/wtr-general</a><br><br><br>_______________________________________________<br>Wtr-general mailing list<br><a href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/wtr-general">
http://rubyforge.org/mailman/listinfo/wtr-general</a><br></blockquote></div><br>