开发者

Selenium 2 and JUnit in eclipse how to work with dropdown list?

how to deal with dropdown list in Selenium 2 , Juint in eclipse? I am not able to convert my my selenium ide syntax to Junit f开发者_运维百科or Dropdownlist. how can i achieve that?


just use findElement by id or name and send the keys.. Give me the code snippet if you didn't follow this, I may help u out in a better way....


Maybe this would be helpful?: How to select/get drop down option in Selenium 2

You just have to create new JUnit test, initialize selenium and reach dropdownlist

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜