It is because it is a button, not an image.

Try  $ie.button(:src,/RBJ_LoginButtonOff/).click

Zeljko

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 9:04 AM
To: [email protected]
Subject: [Wtr-general] clicking this image

hi I've had a hard time clicking this image

<td align="middle" colSpan="2"><input type="image"
src="images/RBJ_LoginButtonOff.gif" border="0" tabindex="3"></td>

$ie.image(:src,/RBJ_LoginButtonOff/).click
# results with unable to locate object error

attached is the html source.

->      
         <<rbjadmin[2].txt>> 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to