My computer crashed and I had to reinstall ruby and watir.

I used to be able to use a command like this:

browser.select_list(:id, 'mydropdownbox').select_item_in_select_list
(:index, 3)

Now, if I do this, every item in the select box gets highlighted, and
I get the error:

Watir::Exception::NoValueFoundException in 'XXX'
No option with :index of "3" in this select element
./test/specs/clicker_spec.rb:359:
./test/specs/clicker_spec.rb:358:in `each'
./test/specs/clicker_spec.rb:358:

What's going on?  Did something change with this method?  Is there
something I need to change in my code so that it can select items in a
select list based on index?

Thanks,
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to