Select Value by Text
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 text provided in input for dropdown/list, which is in the table cell.
Input: <Row>; <Col>; <Object Type>;<index>; <input value>
For above Syntax user need to give the row number and column number of which user wants to select value, Object type (it could be dropdown/ list) index (Element Index of the cell) and the input text value.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
User is testing an employee leave management system, where each employee's leave request is displayed in a table. Each row in the table contains a dropdown list under the column "Leave Type". The dropdown options available are "Sick Leave," "Casual Leave," and "Vacation."
The user needs to select the leave type for an employee based on the specific leave type provided as input (e.g., "Casual Leave") for a particular row in the table.
2;3;dropdown;1; Casual Leave
The "Select Value by Text" Action needs to select "Casual Leave" from the dropdown located in the second row of the third column from the employee leave table.
The "Select Value by Text" Action is selects the desired leave type (in this case, "Casual Leave") from a dropdown list within a specific cell of the table.