Hii I am new to Watir can some help me.
 
I am unable to click the image which has a _javascript_ associated with it can some one help me. Below is the code line i am using and below that is the HTML reference.

ie.image(:src, /sat_login_03c.gif/).fire_event("onclick")

i also used,

ie.image(:src, /sat_login_03c.gif/).click()


---------html reference--
<tr>
<td nowrap><img src="" width="256" height="80"><SCRIPT TYPE="text/_javascript_">
<!--
var sr = new submitroll("images/sat_login_03b1.gif","images/sat_login_03b2.gif","mysubmit");
sr.alt="Login";
sr.width=60;
sr.height=80;
sr.write();
//-->
</SCRIPT><NOSCRIPT><input name="submit" value="Login"></NOSCRIPT><img src="" width="84" height="80"></td>
</tr>

Thanks and Regards
Sudhir
--
A little Consideration, a little Thought for Others, makes all the difference
Sudhir Kumar Gupta
Persistent System Pvt Ltd
------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to