Hi
I am trying to click
a "Tab" in my application . I tried with various combinations, but couldnt
succeed.
Here is the source
code can anyone help me ?
I have to click on
the "Parties" tab.
div id='Zeroth_HdrTabId'
style='position:absolute; left:0px; top:12px; width:595px;
You can use the cell text contents to find the cell to click:
table = ie.table(:index, 1)# Find the tab table using some
method
tab_cell = table.cell(:text, 'Parties')
tab_cell.click
If you know that this cell is the ONLY one with that text then you can
just look for it anywhere on
Hi
I tried with ie.cell(:text, /Par/).click
but its not working.
Thanks
Meghanath
-Original Message-
From: David Schmidt [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 2:33 PM
To: wtr-general@rubyforge.org
Cc: Chintakrindi Meghanath
Subject: Re: [Wtr-general] Click on the Tab
(:text, /Par/).click
but its not working.
Thanks
Meghanath
-Original Message-
From: David Schmidt [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 2:33 PM
To: wtr-general@rubyforge.org
Cc: Chintakrindi Meghanath
Subject: Re: [Wtr-general] Click on the Tab
You can use the cell
order=0
name=a/TD"
So Watir should be finding this cell. Whether it is kicking off your
_javascript_ or not is another matter . . . I do not have a copy of that.
Lonny Eachus
===
Subject:
Re: [Wtr-general] Click on the Tab