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

Now you can easily select or deselect any specific option from select box or drop down as described in my earlier POST 1, POST 2 and POST 3. All these three posts will describe you different alternative ways of selecting options from list box or drop down. Now let me take you one step ahead to describe you the use of deselectAll() and isMultiple() methods in selenium webdriver.

Adding selection or removing selection from list box are very common actions for list box. Selenium WebDriver has 3 alternate options to select or deselect value from list box. It is very important to learn all three methods of selecting or deselecting option from list box because if one is not possible to implement in your test then you must be aware about alternate option. I already described 3 selection options in my earlier posts - Selecting specific option BY VISIBLE TEXT, BY VALUE or BY INDEX  from drop down or list box.