Wait

This is a pre-built Action located under the @Generic Element. The functionality of this Action in Avo Assure is to pause the test execution for a specified number of seconds and then continue to the next step. The status is stored in a dynamic variable.

Syntax

Input Value: <Time in Seconds>

In Avo Assure, the Wait action is enhanced for web applications.

Earlier, users enter a wait time (for example, 5 seconds) in the Input Value field to handle loading delays. Now, Avo Assure automatically waits for elements to become clickable, visible, or ready. This removes the need for manual wait times and makes test execution smoother and more reliable.

Note: This enhancement currently applies only to web applications.

Argument
Description

<Time in Seconds> (Required)

Provide the duration in seconds for which the test execution should wait before proceeding to the next step.

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

Argument
Description

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

Both dynamic variable stores the status as True or False.

Example: Waiting Before Executing the Next Action

In this example, we explain how to use Wait action to delay the execution for a specific duration.

  • Action: Wait

  • Input Value: 5

    • The input value (5) specifies the number of seconds for which the execution must pause.

  • Output Value: {Status}

    • Avo Assure stores the result of the wait action in the {Status} dynamic variable as True or False:

      • Ture: If the wait completes successfully.

      • False: If the wait is action is not work or empty input value.

  • Logical Explanation: The Wait action fetches the value from the Input Value column (5). It pauses the test execution for 5 seconds and then resumes the next step. After the pause completes, it stores the result as (True) in the {Status} variable. This ensures that elements load properly, background processes complete, and the system becomes ready for the next action.

Last updated

Was this helpful?