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
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
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)