Applies to TestComplete 14.50, last modified on August 05, 2020

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