Halt Procedure

Applies to TestComplete 15.70, last modified on December 17, 2024

The Halt procedure terminates the script execution.

Declaration

Halt()
Result     None  

Description

Performs an abnormal termination of the script execution. Posts the following message to the log: “Script execution was interrupted”.

Remarks

To terminate the script execution, you can also use the TestComplete Runner.Halt method. Unlike the Halt procedure, Runner.Halt allows you to specify the text of the error message to be posted to the test log.

See Also

DelphiScript - List of Supported Routines and Variables
Break
Continue
Exit
Halt Method

Highlight search results