[wtr-general] Re: Unable to click tab in IE/FF

2011-10-16 Thread ash
Hi, Its working fine now, i used frames. Thanks for everyone's help. Thanks On Oct 17, 10:15 am, Chuck van der Linden wrote: > On Oct 15, 12:19 am, ash wrote: > > > > > > > > > > > Hi, > > > Below is my portion of html code. > > > I want to click TestSettings tab. > > > > > > > > > > > Te

[wtr-general] Re: Unable to click tab in IE/FF

2011-10-16 Thread Chuck van der Linden
On Oct 15, 12:19 am, ash wrote: > Hi, > > Below is my portion of html code. > > I want to click TestSettings tab. > > > > > > TestSettings > > > > > > I tired all 3 below option.But nothing works. > > ie.link(:id, 'test_tab_settings').click This would not work because there is no link ele

[wtr-general] Re: Unable to click tab in IE/FF

2011-10-15 Thread RJ
If inside a frame: ie.frame(:id => "frame_name").link(:id => "link_name).exists? Otherwise try .link(:id => "link_name").fire_event("onclick"$ -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.

[wtr-general] Re: Unable to click tab in IE/FF

2011-10-15 Thread ash
Hi, Below is my portion of html code. I want to click TestSettings tab. TestSettings I tired all 3 below option.But nothing works. ie.link(:id, 'test_tab_settings').click ie.span(:text, 'TestSettings').click ie.div(:id, 'testnavigation').click Below is the error which i get: unable

[wtr-general] Re: Unable to click tab in IE/FF

2011-10-14 Thread Chuck van der Linden
If you can't share the HTML with us, and this is a commercial or OS third party tab control, then the next best thing is to point us at the 'examples' or 'demo' page for the control, and indicate specifically which variety you are using. It might be easier to get your answer by moving this questio

[wtr-general] Re: Unable to click tab in IE/FF

2011-10-14 Thread Tiffany Fodor
Hi! I agree with Zeljko, we can't give an informed answer without example html, but here are some 'stabbing in the dark' suggestions to try. You may be able to click on the div, link or span more simply: ie.link(:text, 'span text').click ie.span(:text, 'span text').click ie.div(:id, 'dividname')