Delay Operation

Applies to TestComplete 15.0, last modified on November 17, 2021

Description

The Delay operation pauses the keyword test execution for the specified period.

Delay operation in a keyword test

Click the image to enlarge it.

Note: To learn how to pause the script execution, see the Delay method description.

Operation Result

The operation does not return any value.

Scripting Analogue

The operation performs the same actions as the aqUtils.Delay method.

Child Operations

The operation cannot have child operations.

Operation Parameters

The operation parameters are organized into the following pages:

Specify Delay Parameters

On this page you can modify the following parameters:

Specify Parameters page of the Delay operation

Click the image to enlarge it.

Delay time (ms)

Specifies the number of milliseconds for which the test execution will be paused.

Message for the indicator

Specifies the text to be displayed by the indicator during the pause. If this parameter is omitted, the indicator will display the “Delays the test execution for ... milliseconds.” message.
Indicator shows the specified message during the delay
Operation Parameters

On this page, you can specify operation parameters using code expressions, variables, test parameters, or [Last Operation Result] values.

ms

Specifies the number of milliseconds for which TestComplete will pause the test execution. This parameter is the same as the Delay time parameter on the Specify Delay Parameters page.

Str

Specifies the text to be displayed by the indicator during the pause. This parameter is the same as the Message for the indicator parameter on the Specify Delay Parameters page.

See Also

Miscellaneous Category
Specifying Operation Parameters
Delaying Test Execution
Delay Method

Highlight search results