Select Based on Absolute Value
Last updated
Was this helpful?
Last updated
Was this helpful?
This ‘Select Based on Absolute Value’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to select the value from the dropdown based on the exact text provided in the input and save the result in dynamic variable.
Input Value: <text>
<text>
(Required)
Specify the exact text or value to be selected from the dropdown
Note:
This Action requires an exact match. Due to browser rendering, if the value contains trailing/leading spaces, the actions will fail.
This Action will pass only if the input value matches the values present in the application under test.
This Action selects the values given in the input. To see the selected values, the tester should use the “getSelected” keyword after selecting the keyword.
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable holds the status True or False
Example
Selects an item from a dropdown or list by provided text in input
The Select Based on Absolute Value action takes the value from the Input Value column (e.g., NARMAD CENTRAL LIBRARY) and selects the matching option from the available list. The result of the selection operation is stored in the {Status} variable, with the following possible values:
True – if the item is selected successfully.
False – if selection fails or an error occurs.