[Wtr-general] Selecting multiple terms with watir

2007-02-21 Thread Naga Harish Kanegolla
Hi all, How could we find the multiple items in the select list using watir?? manually i use ctrl and click on the item for selecting multiple items. So is there a way to do with watir?? - Posted via Jive Forums

Re: [Wtr-general] Selecting multiple terms with watir

2007-02-21 Thread Ċ½eljko Filipin
Just select multiple items. ie.select_list(:index, 1).select(first) ie.select_list(:index, 1).select(second) After you select the second item, the first item will stay selected, it will not be unselected (in multiple select list). -- Zeljko Filipin zeljkofilipin.com

Re: [Wtr-general] Selecting multiple terms with watir

2007-02-21 Thread carl . l . shaulis
I am sure there is a more elegant way and WATIR can emulate a shift-key, but I do the following: ie2.selectBox( :name Thing).select(My thing) ie2.selectBox( :name , thingAvailable).select(002) ie2.selectBox( :name , thingAvailable).select(002)