tuyet.ctn
7/13/2005 1:46:00 AM
Thanks, Timothy, I did see this in the Ruby Regular Expression web
site, but when I tried it, I got an error:
irb(main):009:0> ie.frame("customizeRemoteContent").select_list(:id,
"availableColumnsSelectBox").select(/\ASector/)
Watir::Exception::NoValueFoundException: Selectbox was found, but
didn't find item with text of (?-mix:\ASector) from
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3306:in
`select_item_in_select_list'
from C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3284:in `each'
from C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3284:in
`select_item_in_select_list'
from C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3261:in `select'
from (irb):9
from :0