verifyVisible

This is a pre-built Action located under the captured element. The functionality of this action in Avo Assure is to verify whether the specified web element is visible on the page. The result is stored in the given dynamic variable for further use during test execution.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

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

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Both dynamic variable stores the status as True or False.

Example: Verifying the Visibility of a UI Element

In this example, we are explain how to verify whether a captured UI element is visible on the screen.

  • Action: verifyVisible

  • Input Value: N/A

    • This action does not require any input value. It checks if the captured UI element is visible to the user in the application under test.

  • Output Value: {Status}

    • The result of the visibility check is stored in the {Status} dynamic variable with the following possible values:

      • True: If the UI element is visible on the screen.

      • False: If the UI element is not visible or an error occurs.

  • Logical Explanation: The verifyVisible action does not require any input value. The action identifies the captured UI element within the application under test and determines its visibility. The verification result (True) is stored in the {Status} dynamic variable.

Last updated

Was this helpful?