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 to retrieve css properties of an element?
What regular expression special character(s) means "any character?"
Enlist the components of selenium.
When should I use Selenium IDE?
What are the two modes of views in selenium ide?
What is the reason to use the selenium grid?
selenium can handle pop-up windows based on selenium is a test tool?
What does a single “/” bar in XPath do?
What are different forms of selenium?
How can we create an object repository in selenium?
What does side stand for?
How to download a file in selenium webdriver?
Tell me do you know a way to refresh browser by using selenium?
What is the purpose of creating a reference variable- 'driver' of type webdriver instead of directly creating a firefoxdriver object or any other driver's reference in the statement webdriver driver = new firefoxdriver();?
What types of tests are compatible with Selenium?