Showing posts with label Selecting Dropdown Value. Show all posts
Showing posts with label Selecting Dropdown Value. Show all posts

In my earlier post, We have seen example of HOW TO SELECT OPTION BY VISIBLE TEXT from drop down. There are two more alternatives to select option value from drop down or list box in selenium webdriver software testing tool. 1. Selecting Option By Value and 2. Selecting Option By Index. You can use any one from these three to select value from list box of your software web application page. You can use select by index in selenium when you are not able to select is value or visible text. you can use selectbyindex selenium method to achieve it. If you know, we can use "select" command or "addSelection" command in selenium IDE software testing tool to select option from list box.

In my earlier tutorial of selenium webdriver software testing tool, we learn few basic action commands of selenium WebDriver like HOW TO CLICK ON BUTTON, IMPLICIT WAIT, EXPLICIT WAIT etc. THIS LINK will show you more different examples of basic action commands of selenium webdriver software testing tool. As you know, Drop down is also essential element of any software web application page. So it is important to know that how to control or take action on drop down list like selecting specific value from drop down list using selenium webdriver/selenium 2.