Get Object Status
This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to retrieve the status of objects such as radio buttons or checkboxes present in a table cell. The result is stored in the given dynamic variable for further use during test execution.
For the object, it may retrieve the following statuses:
Checked: if the radio button or checkboxes are already checked
Unchecked: if the radio button or checkboxes are already unchecked
Syntax
Input Value: <Row>;<Col>;<Object Type>;<index>
<Row> (Required)
Provide the row number of the table cell you want to check.
<Col> (Required)
Provide the column number of the table cell you want to check.
<Object Type> (Required)
Provide the type of object inside the cell (radiobutton or checkbox).
<index> (Required)
Provide the index of the object inside the cell Note: Index is starting from 0.
Output Value: <Dynamic Variable>(optional);<Dynamic Variable>(Optional)
<Dynamic Variable> (Optional)
This dynamic variable stores the retrieved status as checked or unchecked.
<Dynamic Variable> (Optional)
This dynamic variable stores the status as True or False.
Example: Retrieving the Status of a Radio Button from a Specific Table Cell
In this example, we explain how to retrieve the status of an object (radio button) located within a particular cell in a table.
Action: Get Object Status
Input Value: 2;5;radiobutton;1
The first argument (2) specifies the row number.
The second argument (5) specifies the column number.
The third argument (radiobutton) specifies the object type to be checked.
The fourth argument (1) specifies the index of the object within the cell.
Output Value: {StatusResult}
The retrieved object status (Selected) is stored in the {StatusResult} dynamic variable.
If a second output variable is provided, the action returns the execution status as True or False:
True: If the object status is retrieved successfully.
False: If the object status is not retrieved successfully.
Logical Explanation: The Get Object Status action reads the values from the Input Value column (2;5;radiobutton;1). The action identifies the table cell at row 2 and column 5, locates the specified object type (radio button or checkbox), and determines its selection status. The retrieved result (Selected) is stored in the {StatusResult} variable.

Last updated