Thanks paul! It's working now. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Rogers Sent: Thursday, July 28, 2005 10:44 AM To: [email protected] Subject: RE: [Wtr-general] click image problem
Give this a go: $ie.image(:src ,/FBK-and/).click You may have to change the reg-exp if there are other images with the same ( or similar) name Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 27 July 2005 20:19 To: [email protected] Subject: [Wtr-general] click image problem Hi! I have this problem clicking this image... pls see attached htm for added info. here's the line of the image I want to click... <TD COLSPAN="2"> <a href="javascript:AddText(' AND ')"><IMG SRC="../../images/RBJ_FBK-and.gif" WIDTH="48" HEIGHT="18" border="0"></a></TD> I tried $ie.link(:url,"javascript:AddText(' AND ')").click $ie.button(:url,"javascript:AddText(' AND ')").click but it says unable to locate object. The only difference with this object is that the link does not appear in the status bar during mouseover. Thanks. <<KeyWordPopUp.txt>> -Jan _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
