Select Value by Text
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Custom Element Name. It instructs the Avo Assure Client to select the value from the dropdown based on the text provided in the input.
Input: <Object Type>;<VisibleText(Optional)>;<index>;<text>;<abs(optional)>
For above syntax user needs to gives specific Object type, visible text of the object (optional) along with element index of the object, input string which needs to be selected from the dropdown and abs.
Note: if for last argument abs is defined then the Action must be executed with absolute preformation with the specified visible text in the input.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
A user is testing a form where they need to select a state from a "State" dropdown menu. The Avo Assure needs to select the state "California" from the list of available states in the dropdown, based on the text "California".
dropdown;;1;California
The Select Value by Text Action needs to select the third value which is California from the dropdown.
The "Select Value by Text" Action successfully selects "California" from the dropdown