Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to select a value from a drop-down?



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

Post New Answer

More Selenium Interview Questions

What is selenium 1.0?

0 Answers  


What type of tests have you automated?

0 Answers  


What is the function of xpath?

0 Answers  


How can we clear a text written in a textbox?

0 Answers  


What are the Different Types of Waiting in the WebDriver?

1 Answers  


How to assert title of the web page?

0 Answers  


What distinguishes between an absolute and relative url in side?

0 Answers  


What is the difference between captureentirepagescreenshot and capturescreenshot?

0 Answers  


How to handle dropdowns in selenium?

0 Answers  


What is the difference between assert and verify in selenium?

0 Answers  


How to handle a dropdown in selenium webdriver? How to select a value from dropdown?

0 Answers  


What do you know about Selenium IDE?

0 Answers  


Categories