Answer Posted / dileep kumar
by using select keyword we can select a value from dropdown box
select select = new select (driver.findelement(by.xpath(" xpath")));
select.selectbyindex(2);
select.selectbyvalue(2);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can we find the value of different attributes like name, class, value of an element?
What are testing types supported by selenium?
How would you test your element locator?
Can we enter text without using sendkeys()?
what are the testing frameworks used in selenium?
How can you use the recovery scenario in selenium webdriver?
Explain what is the main difference between web-driver and rc?
What is the alternate way to click on login button?
Mention when to use autoit?
Explain what is framework and what are the frameworks available in rc?
Explain what is group test in testng?
What are the different methods to refresh a web page in webdriver?
How many exceptions do you know in selenium webdriver?
What is the command that is used in order to display the values of a variable into the output console or log?
Can we edit recorded selenium ide test cases?