开发者

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

开发者 https://www.devze.com 2023-04-10 07:51 出处:网络
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 findElemen

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

精彩评论

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