Select Based on Absolute Value
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built Action located under the Table captured from the AUT Element, instructs the Avo Assure to select the value from the dropdown based on the exact text provided in the Input Value. The dropdown is located within a table cell of the AUT, and the result is stored in a dynamic variable.
Input Value: <row_num>;<col_num>;<dropdown>;<elementIndex>;<Exact text>
<row_num> (Required)
Specify row number of the table cell to be clicked
<col_num> (Required)
Specify column number of the table cell
<dropdown> (Required)
Type of object inside the cell. In this case, always use “dropdown”
<elementIndex> (Required)
Index of the dropdown object inside the cell
<Exact text> (Required)
The exact visible text from the dropdown that should be selected
Output Value
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This dynamic variable holds the status as True or False
Example
Performs selection of a specified value from a dropdown list in a table cell.
The Select Based on Absolute Value action takes the value from the Input Value column (e.g., 1;2;dropdown;1;High) and selects the specified text value from the dropdown menu present in the given table cell at the row and column position. The selection status is saved in the {SelectStatus} variable, with the following possible values:
True – if the value is successfully selected from the dropdown.
False – if the selection fails or an error occurs.