Hey Andrew, <br><br>&nbsp; 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> &lt;<a href="mailto:welkin_inc@hotmail.com">welkin_inc@hotmail.com
</a>&gt; 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>&gt;ie.image(:name, 'xxx').click<br><br>At 08:41 AM 8/23/2005, Alex GLove wrote:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Hi guys,<br><br><br>
&nbsp;&nbsp;&nbsp;&nbsp;I am trying to make watir to click on an &lt;input type=&quot;image&quot; name=&quot;xxx&quot;&gt;<br>object but with no luck.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;I tried both:<br>&nbsp;&nbsp;&nbsp;&nbsp;ie.image(:src, '/Images/xxx.gif').click<br>&nbsp;&nbsp;&nbsp;&nbsp;ie.image(:id,Your DIsco needs you').click
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;what am I supposed to enter?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;many thanks<br>&nbsp;&nbsp;&nbsp;&nbsp;_______________________________________________<br>&nbsp;&nbsp;&nbsp;&nbsp;Wtr-general mailing list<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org
</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<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>