[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

WATIR - Clicking img

Tracy Pyne

9/12/2007 3:10:00 PM

This is driving me up the wall.

I need to click on an apply button, however the Javascript has a number
of hidden buttons. You would think the developer would identify each one
uniquely but he hasn't. Each one is:

<input type="image" name="apply"
onClick="document.NewforOutputForm.mode.value='New';"
src="../images/apply_btn_1.gif"
OnMouseOver="this.src='../images/apply_btn_2.gif'"
OnMouseOut="this.src='../images/apply_btn_1.gif'" />

the only difference is the onClick bit.

Any ideas as to how I can click this damn button?

I've tried numerous things so any help would be appreciated.

Thanks
Tracy
--
Posted via http://www.ruby-....