[Wtr-general] Selecting an 'accented character' from a list

sathees forum-watir-users at openqa.org
Tue Mar 20 01:53:17 EDT 2007


put them to an array and use it.

myarray = []
myarray = $ie.select_list(:whatever, 'whatever').getAllContents

now you can see which one is your text by doing
myarray.length.times do |x|
puts "index" + "#{x}" + " " + "#{myarray[x]}"
end


More information about the Wtr-general mailing list