Runner Object Methods

Applies to TestComplete 15.45, last modified on December 01, 2022

The Runner object contains the following methods:

Method List

Name Description
CallMethod Calls a script routine specified by its name and unit name.
CallObjectMethodAsync Calls the method of the specified application object from scripts asynchronously (that is, CallObjectMethodAsync does not pause the script run until the method execution is over). You can also use this method to obtain a property’s value (that is, to call the property’s get method).
Halt Stops the script execution and posts the specified error string to the log.
Pause Pauses the test execution and activates the debugger.
SetObjectPropertyAsync Sets the property of the specified application object from scripts asynchronously (that is, SetObjectPropertyAsync does not pause the script run until the execution of the property’s set method is over).
Start Initializes TestComplete subsystems and runs the tests provided by the current project.
Stop Stops the script execution.

See Also

Runner Object

Highlight search results