开发者

How to select a value from dropdown

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜