Select Based on Absolute Value
This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to select a 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. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <row_num>;<col_num>;<dropdown>;<elementIndex>;<Exact text has to given>
<row_num> (Required)
Provide the row number of the table cell you want to click.
<col_num> (Required)
Provide the column number of the table cell you want to click.
<dropdown> (Required)
Provide the type of object inside the cell. Use object type as dropdown.
<elementIndex> (Required)
Provide the index of the dropdown object inside the cell.
<Exact text has to given> (Required)
Provide the exact visible text you want to select from the dropdown.
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example: Selecting a Value from a Dropdown within a Table Cell
In this example, we explain how to select a specific value from a dropdown list present inside a table cell.
Action: Select Based on Absolute Value
Input Value: 1;2;dropdown;1;High
The first argument (1) specifies the row number.
The second argument (2) specifies the column number.
The third argument (dropdown) specifies the object type to be interacted with.
The fourth argument (1) specifies the index of the object if multiple elements exist.
The fifth argument (High) specifies the value to be selected from the dropdown list.
Output Value: {Status}
The result of the selection operation is stored in the {Status} dynamic variable, with the following possible values:
True: If the value is successfully selected from the dropdown.
False: If the value is not successfully selected from the dropdown.
Logical Explanation: The Select Based on Absolute Value action reads the details from the Input Value column (1;2;dropdown;1;High). It locates the table cell at row 1 and column 2, identifies the dropdown element within that cell, and selects the specified value (High). The result of this operation (True) is saved in the {Status} variable.

Last updated