When I said "source code", I meant your Ruby source, not the HTML source for the Web page.
 
---Michael B.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chintakrindi Meghanath
Sent: January 26, 2006 2:46 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click

Hi Michael
 
I tried with many different options.
The source code looks as follows.
 
<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>
 
I had not seen any error messages.
I had not stepped thorugh the IRB, i will try that option
 
Thanks
Meghanath
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Michael Bolton
Sent: Thursday, January 26, 2006 1:54 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click

So ie.button(:text, "Contents").click doesn't work?  What does your code look like?  What have you tried?  Have you seen any error messages?  Have you stepped through it in IRB?
 
---Michael B.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chintakrindi Meghanath
Sent: January 26, 2006 1:27 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click

HI All
 
Can anyone , give  solution, I am struck at this point .
 
Thanks
Meghanath
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Chintakrindi Meghanath
Sent: Thursday, January 26, 2006 9:58 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click

Hi
 
I tried with this options also , but not working.
It is not throwing any error, but its not clicking that 'Tab'
 
Thanks
Meghanath
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bret Pettichord
Sent: Wednesday, January 25, 2006 4:09 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click

How 'bout this:

  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:
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


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

Reply via email to