Hi All,

Is it possible to select an item in a select list by index?

I have a situation whereby either the test does not know, or does not care what 
it selects from a multiple select list, so each time I run this script I want 
to just select the first item in the select list.

@mainFrame.select_list(:name, 'availableItems').select(:index, 1)
does not seem to do the trick.

I would use the get all content method, but there is the added complexity that 
we can select as many items as we want in the list, but the validation will 
only allow a maximum of three to ever be saved.

Any help with this one would be appreciated.

Thanks,

PMF.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to