[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-22 Thread Alex Shtayer
yes, you need such intermediate things only if you have two iframes with absolutely same attributes -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+u

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-21 Thread Chuck van der Linden
You likely do not need a lot of those intermediate container elements. Try using $ie.iframe(:id => 'PWGadget5Ifr',:name=>'PWGadget5Ifr').iframe(:name=>'actionIFrame').button(:id=>'submitButton').exists? and see if it works for you On Thursday, March 21, 2013 10:20:47 AM UTC-7, Pavan Turlapat

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-21 Thread Pavan Turlapati
Thanks to all and special thanks to Chuck for giving suggestions. This issue is NOW resolved. $ie.iframe(:id => 'PWGadget5Ifr',:name=>'PWGadget5Ifr').form(:name=>'main').div(:id=>'HARNESS_CONTENT').div(:id=>'iframeDiv').iframe(:name=>'actionIFrame').button(:id=>'submitButton').exists? is what

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-20 Thread Chuck van der Linden
On Wednesday, March 20, 2013 4:44:08 PM UTC-7, Chuck van der Linden wrote: > you mention what look like two different frames, but I don't see them in > any of the screenshots.. and omg the nested tables.. what a mess, Not to > mention repeated ID's and other identifiers, making it very tricky t

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-20 Thread Chuck van der Linden
you mention what look like two different frames, but I don't see them in any of the screenshots.. and omg the nested tables.. what a mess, Not to mention repeated ID's and other identifiers, making it very tricky to uniquely identify any given element amongst that mess. . so web 1.0.. I feel f

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-20 Thread Chuck van der Linden
just one offhand observation. in the first image I see a metric crapton of duplicated ID values.. that's invalid HTML right there.. On Tuesday, March 19, 2013 7:03:20 AM UTC-7, Pavan Turlapati wrote: > > > Hello, >I got one more problem which I need some experts to help > me. I

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-20 Thread Dan
I would suggest using irb and stepping down into the elements to make sure they exist. For example. $ie.iframe(:id => 'PWGadget5Ifr').exists? $ie.iframe(:id => 'PWGadget5Ifr').frame(:name=>'actionForm').exists? If you get false for any of these you're going to need to look closer at the hierar

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-20 Thread Pavan Turlapati
Hi.. Anybody can help me.. Really looking for some help? On Tuesday, March 19, 2013 2:50:16 PM UTC-5, Pavan Turlapati wrote: > > Any help on this? > > > > On Tuesday, March 19, 2013 9:03:20 AM UTC-5, Pavan Turlapati wrote: >> >> >> Hello, >>I got one more problem which I need some

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-19 Thread Pavan Turlapati
Any help on this? On Tuesday, March 19, 2013 9:03:20 AM UTC-5, Pavan Turlapati wrote: > > > Hello, >I got one more problem which I need some experts to help > me. I have a radiobutton which is present under the iFrame but when I try > any of the below lines I am getting the >