If you look above to Mark's post you'll see he's already posted the answer. To 
select by index in a select list: 
choices = $ie.select_list(:name,'language').getAllContents
$ie.select_list(:name,'language').select(choices[0]) 

getAllContents returns the contents as an array after which you can choose by 
index. 

-Charley
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=2978&messageID=12463#12463
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to