Re: [wtr-general] Re: How to change select_list box value ?

2011-08-13 Thread Yuping Zhong
Please try to use index! On Thu, Aug 11, 2011 at 8:36 PM, Dmitri Karusar wrote: > No luck with: > > $ie.frame(:name,"mainFrame").select_list(:name,"defaultLicensingPeriod").set("2 > months") > > The thing is All select_menus on my page have same span class: > > > -- > Before posting, please read

[wtr-general] Re: How to change select_list box value ?

2011-08-12 Thread Chuck van der Linden
I'm confused, that snippet of html you give below with the span element appears nowhere in the HTML that you provided in your first message in the thread. Perhaps if you provided a bit more HTML where this span element is considered? Is this some kind of javascript powered control that implements

[wtr-general] Re: How to change select_list box value ?

2011-08-11 Thread Dmitri Karusar
No luck with: $ie.frame(:name,"mainFrame").select_list(:name,"defaultLicensingPeriod").set("2 months") The thing is All select_menus on my page have same span class: -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.c