[wtr-general] Re: Multiple "select_list"(s) with the same name

2009-10-29 Thread Željko Filipin
On Thu, Oct 29, 2009 at 6:12 AM, Pallavi Sharma wrote: > This after thing is really nice i never knew that do we have a before also? This page links to a few pages with a lot of not well know, but really useful Watir features: http://wiki.openqa.org/display/WTR/Summary Željko -- watir.com - com

[wtr-general] Re: Multiple "select_list"(s) with the same name

2009-10-28 Thread Pallavi Sharma
This after thing is really nice i never knew that do we have a before also? does it works in multi level also like nested elements?? -- Pallavi. On Wed, Oct 28, 2009 at 8:03 PM, Bret Pettichord wrote: > > This should also work > > ie.select_list(:name => "select", :after? => ie.h2(:text, "Fine

[wtr-general] Re: Multiple "select_list"(s) with the same name

2009-10-28 Thread Bret Pettichord
This should also work ie.select_list(:name => "select", :after? => ie.h2(:text, "Fine Art")).set("Drawing - In A Day") Bret Pallavi Sharma wrote: > Have you tried multiple attributes and used index?? > > > ie.select_list(:name => "select", :index => 2).set("Drawing - In A Day") > > Try this.

[wtr-general] Re: Multiple "select_list"(s) with the same name

2009-10-27 Thread Pallavi Sharma
Have you tried multiple attributes and used index?? ie.select_list(:name => "select", :index => 2).set("Drawing - In A Day") Try this. It should solve the issue. -- Pallavi On Wed, Oct 28, 2009 at 7:38 AM, Ben wrote: > > > > > Below is a sniplet of the code of the web page. I 'm trying to