software
software

Reputation: 728

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 for Dropdownlist. how can i achieve that?

Upvotes: 0

Views: 1203

Answers (2)

Amit Horakeri
Amit Horakeri

Reputation: 745

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....

Upvotes: 1

Arek
Arek

Reputation: 2031

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

Upvotes: 0

Related Questions