Customer Name is the dropdown with almost 30 values, I want to select one value from the dr开发者_JAVA技巧op down in Watir script.
I have used the following code, but nothing is happening.
ie.select_list(:name, "Customers").select "Test"
Use 'set':
ie.select_list(:name, "Customers").set "Test"
http://wiki.openqa.org/display/WTR/Selection+Boxes
精彩评论