RunProjectSuite Method

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

Use the RunProjectSuite method to execute tests provided by the project suite opened in TestComplete. The method does not pause the program execution until the execution of the project suite is over. It returns immediately after the test run was started. If the method cannot initiate the test run, an error occurs. You can handle it using the means of the scripting language you use (see Handling Exceptions in Scripts).

Declaration

IntegrationObj.RunProjectSuite()

IntegrationObj An expression, variable or parameter that specifies a reference to an Integration object
Result None

Applies To

The method is applied to the following object:

Result Value

None.

Remarks

Call this method only if TestComplete is not running any tests. Else, an error will occur. To check whether TestComplete is running tests, use the IsRunning property.

RunProjectSuite returns immediately after the test run has started or if it has failed to start. The method does not pause the program execution until the test run is over. To wait until the test run finishes, you can call the IsRunning property in a loop. See Working With TestComplete via COM for more information.

See Also

Working With TestComplete via COM - Overview
RunProject Method
RunProjectItem Method
RunProjectTestItem Method
RunRoutine Method
RunRoutineEx Method
Halt Method
Stop Method
GetLastResultDescription Method

Highlight search results