Inside a modal dialog, I can reference a select_list and see the text OPTIONS,
using ie.modal_dialog.div(:index,49).table(:index,2).select_list(:index,1).html
When I try to select a choice, nothing happens. I have tried:
1)
ie.modal_dialog.div(:index,49).table(:index,2).select_list(:index,1).options(:text,"OS
Name").select
2)
ie.modal_dialog.div(:index,49).table(:index,2).select_list(:index,1).options(:text,/OS
Name/).select
3)
ie.modal_dialog.div(:index,49).table(:index,2).select_list(:index,1).select("OS
Name")
4)
ie.modal_dialog.div(:index,49).table(:index,2).select_list(:index,1).select(/OS
Name/)
I know that I am referencing the correct object, because when I select with a
value that is not in the list, Watir throws an UnknownObjectException.
Is there another way to select an entry in a select list?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5982&messageID=16766#16766
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general