For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Object Status

This is a pre-built action located under the @captured toggle element. The functionality of this action in Avo Assure is to verify whether the specified toggle is On or Off within the application and stores the result in a dynamic variable for further use during test execution.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)

Argument
Description

<Dynamic Variable>

(Required)

This Dynamic Variable stores the Checkbox status (e.g., Unselected or Selected).

<Dynamic Variable>

(Optional)

This Dynamic Variable stores the status as True or False.

Example: Retrieving the Status of a Toggle

In this example, we retrieve the current state of a toggle and store the result in dynamic variables.

  • Action: Get Object Status

  • Input Value: N/A

    • This action does not require any input value.

  • Output Value: {State};{Status}

    • The first dyanamic variable {State} stores the current state of the object as On or Off.

    • The second dynamic variable {Status} stores the execution result.

      • True: The object state is retrieved successfully.

      • False: The object state is not retrieved successfully.

  • Logical Explanation: The Get Object Status action retrieves the current state of the specified object. It stores the state On or Off in the {State} dynamic variable and the execution result True or False in the {Status} dynamic variable.

Last updated