Drop Down
Dropdown or Select is a special input type. Unlike standard test box or button we need to perform multiple actions to select a value from a drop down.
Actions to be performed:
Click to activate/display the select options
Type a Selection Phrase to narrow your results ( Only for dynamic/suggested drop downs. E.g. Google Search is a suggested Drop Down)
From the drop down list select a value of your choice
How to configure?
Main locator info of the UI element must be pointed to activate/display drop down selection. Usually to click on the container to activate drop down recommendation
Add property tagName with value as locator for item selection. For example, if you are selecting a state Florida from the drop down, and all the states names are in span tags, then your locator will be //span[text()="Florida"].
Last updated