Select Value by Index
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the Table captured from the AUT Element Name. It instructs the Avo Assure Client to select the options based on the index value specified in input for dropdown/list.
Input: <Row>; <Col>; <Object Type>;<index>; <index>
User needs to provide following details for syntax:
Row: row number of specified cell
Col: column number of the specified cell
Object Type: Object type of the cell
index: Element Index of the cell
index: this index can be the Action input (index number of the value to be get selected from dropdown) of cell. The index value for a dropdown starts with 0.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
User is testing a customer feedback system that allows users to submit feedback about their experience with a product. The system displays a table with a list of feedback entries. Each row in the table contains a "Rating" dropdown (in the form of a 1-5 scale) to indicate the customer’s rating of the product. The dropdown options are labelled 1, 2, 3, 4, and 5, and the user can select the rating for each row.
User’s task is to automate the process of selecting a rating for a specific feedback entry, based on the index of the option in the dropdown (e.g., selecting the second option for "2").
3;2;dropdown;1;2
The "Select Value by Index" Action needs to select the 2nd option from the dropdown in the third row of the Rating column.
The "Select Value by Index" Action is selecting 2nd option from a dropdown in a table based on the index of the item.