Wait

The wait action in Avo Assure is found under the @Generic Element and it pauses the test for a set number of seconds before moving to the next step and allows user to delay execution for a specified time to accommodate system or process needs.

Syntax

Input Value: <Time in Seconds>

Argument
Description

<Time in Seconds> (Required)

Required time in seconds

Output Value:

Argument
Description

<Dynamic Variable>;<Dynamic Variable> (optional)

This variable stores the result in true and false

Example 1

Perform a wait operation to handle delays in element availability (For only Web Applications ) The Wait action is used to pause execution until the targeted element meets the required condition (e.g., becomes clickable, visible, or verifiable), without the need for hard‑coded wait times. This action automatically manages the wait internally for supported web applications. The result of the wait operation is stored in the {Wait} variable as True – (if the element meets the condition within the wait duration )or False – ( if the element does not meet the condition )

Example 2

Wait before performing the next action (e.g., 5 seconds)

The Wait action takes the value from the Input Value column (e.g., 5) and waits for 5 seconds before executing the next step. This wait allows time for elements to load, processes to complete, or the system to become ready. No output value is generated, but the execution status is stored in the {Status} variable as Ture - (if the wait completes successfully ) or False - ( if the wait is interrupted)

Last updated

Was this helpful?