ie.div(:id, 'LineTab').cell(:text, 'Contents').click
(If this doesn't work, please describe what it actually does. Error?)
Bret
On 1/25/06,
Chintakrindi Meghanath <[EMAIL PROTECTED]> wrote:
HiI aleady tried with that option , but its not workingThanksMeghanath-----Original Message-----ie.div(:id, 'LineTab').click
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bret Pettichord
Sent: Wednesday, January 25, 2006 2:10 PM
To: [email protected]
Subject: Re: [Wtr-general] Tab Click
On 1/25/06, Chintakrindi Meghanath < [EMAIL PROTECTED] > wrote:Hi AllMy web application contains two tabs in one of the transaction "Detail" and "Contents"After entering the data in the Detail page, using will be saving that record and clicks on "Contents".I am trying to make a script for thatCan anyone help me out, how to click on "Contents".I tried with most of the objects, but its not going through.The following is the source code<div id='DetailTab' style='position:absolute; left:0px; top:12px; width:595px; height:30px; z-index:1;align=left;visibility:hidden;'>
<table width='595' cellspacing='0' cellpadding='0' border=0 align='center'>
<tr><td width='10'><img name='a' src='' width='10' height='20' border='0'/></td>
<td width='81' background='' class='blktext1' align='center' valign='bottom'>Detail<br><img name='a' src='' width='1' height='3' border='0'/></td>
<td width='81' background='' class='blktext1' align='center' valign='bottom' style='cursor:hand'>Contents<br><img name='a' src='' width='1' height='3' border='0'/></td>
<td width='423'><img name='a' src='' width='423' height='20' border='0'/></td>
</tr>
</table>
</div>
<div id='LineTab' style='position:absolute; left:0px; top:12px; width:595px; height:30px; z-index:1;align=left;visibility:hidden;'>
<table width='595' cellspacing='0' cellpadding='0' border=0 align='center'>
<tr><td width='10'><img name='a' src='' width='10' height='20' border='0'/></td>
<td width='81' background='' class='blktext1' align='center' valign='bottom' style='cursor:hand'>Detail<br><img name='a' src='' width='1' height='3' border='0'/></td>
<td width='81' background='' class='blktext1' align='center' valign='bottom'>Contents<br><img name='a' src='' width='1' height='3' border='0'/></td>
<td width='423'><img name='a' src='' width='423' height='20' border='0'/></td>
</tr>
</table>
</div>Thanks
Meghanath
_______________________________________________
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
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
