How to select a value from a drop-down?
Answer / 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 |
in real time , which framework is used ? is it datadriven or keyword or hybrid ?? please answer
What is the testng.xml file used for?
In which format does source view show the script in selenium ide?
What are the junits annotation linked with selenium?
What are the advantages of page object model framework?
How to enforce the title of the website?
Can we enter text without using sendkeys()?
How to assert text of webpage using selenium 2.0?
What do you know about selenium?
How can we fetch a text written over an element?
What are the operating systems supported by selenium webdriver?
What is the use of driver.get("url") and driver.navigate().to("url") command? Is there any difference between the two?