Select By Value
This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to select an option from the dropdown or list within the specified table cell based on the value provided in the input. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <Row>;<Col>;<Object Type>;<index>;<value>
<Row> (Required)
Provide the row number of the table cell you want to click.
<Col> (Required)
Provide the column number of the table cell you want to click.
<Object Type> (Required)
Provide the type of object within the input value as dropdown or list
<index> (Required)
Provide the index of the object within the input value field.
<value> (Required)
Provide the exact value you want to select from the dropdown or list.
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 in a Table Cell
In this example, we explain how to select a specific value from a dropdown or list box located within a particular cell of a captured table.
Action: Select By Value
Input Value: 4;2;dropdown;1;Shipped
The first argument (4) specifies the row number.
The second argument (2) specifies the column number.
The third argument (dropdown) specifies the type of object present inside the cell.
The fourth argument (1) specifies the object index if multiple objects are present.
The fifth argument (Shipped) specifies the value that needs to be selected from the dropdown.
Output Value: {Status}
The result of the selection action is stored in the {Status} dynamic variable, with the following possible values:
True: If the value is selected successfully.
False: If the value is not selected successfully.
Logical Explanation: The Select By Value action reads the details from the Input Value column (4;2;dropdown;1;Shipped). It identifies the table cell located at row 4 and column 2, detects the dropdown element present within that cell, and searches for the value Shipped within the dropdown and select. The outcome of this operations (True) is stores in the {Status} variable.

Last updated