[Wtr-general] Click on the Tab

2006-07-31 Thread Chintakrindi Meghanath
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;

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread David Schmidt
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

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread Chintakrindi Meghanath
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

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread David Schmidt
(: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

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread Lonny Eachus
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