Hi
 
I aleady tried with that option , but its not working
 
Thanks
Meghanath
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bret Pettichord
Sent: Wednesday, January 25, 2006 2:10 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click

ie.div(:id, 'LineTab').click

On 1/25/06, Chintakrindi Meghanath <[EMAIL PROTECTED] > wrote:
Hi All
 
My 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 that
Can 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
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to