here is one way:
ie.link(:text, 'Acepto').click
ie.link(:text, 'No Acepto').click
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Julian Martin
Sent: Thursday, May 18, 2006 2:51 PM
To: [email protected]
Subject: [question] How to click two buttons that are not buttons...
Hello Everybody, i'm trying to click two buttons that are not
regular buttons...
This is the code for them:
<tr> <td> <table border="0" cellpadding="0" cellspacing="2"> <tbody><tr width="90"> <td align="center" bgcolor="#110a7c" nowrap="nowrap" valign="center"> <div class="but" onmousedown='this.className="butdwn"' onmouseout='this.className="but"' onmouseup='this.className="but"'><a href="_javascript_:window.document.frmAdult.submit();" class="buttxt" onmousedown='this.className="buttxt"' onmouseout='this.className="buttxt"' onmouseup='this.className="buttxt"'> <font color="#ffffff">Acepto</font> </a></div> </td>
</tr> </tbody></table> </td> <td> <table border="0" cellpadding="0" cellspacing="2"> <tbody><tr width="90"> <td align="center" bgcolor="#110a7c" nowrap="nowrap" valign="center"> <div class="but" onmousedown='this.className="butdwn"' onmouseout='this.className="but"' onmouseup='this.className="but"'><a href="http://www.mercadolibre.com.ar/" class="buttxt" onmousedown='this.className="buttxt"' onmouseout='this.className="buttxt"' onmouseup='this.className="buttxt"'> No Acepto </a></div>
</td> </tr> </tbody></table> </td> </tr>
Any help would be really appreciated!
Thanks in advance
Rodrigo Julian Martin
CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
