Get Object Status
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 retrieve the status of the objects like radio button or checkbox which is present in the cell of the table and save it in the output variable.
For object it may retrieve following status:
Checked: if the radio button or checkboxes are already checked
Unchecked: if the radio button or checkboxes are already unchecked
Input: <row>;<col>;<ObjectType>;<index>
For above Syntax user need to give the row number and column number of which table cell user wants to get the status of the object, Object type (it could be radiobutton/checkbox) and the index (Element Index of the cell).
Output: <Dynamic Variable>;<Dynamic Variable>(Optiona
l)
User is testing an online order management system where you can select the delivery method for an order. The system displays a table where each order has a row, and each row contains a radio button (for selecting delivery method: "Standard Delivery" or "Express Delivery") inside the table cell.
You need to verify whether the radio button in each row of the order table is correctly selected or unselected depending on the user's previous choice. The radio button status should reflect the user's selection (i.e., whether "Standard Delivery" or "Express Delivery" is selected).
2;5;radiobutton;1
The "Get Object Status" Action needs to retrieve the current status of the radio button in the specified cell (second row, fifth column in the order table). The Action should return a status value such as "Checked" or "Unchecked” and save it in the output variable.
The Get Object Status Action is verifying the status of the radio button and save the result in the {result} output variable as Checked, which can be utilized for display or other purposes.