RunProject method to execute test items provided by the specified project. The method does not pause the program execution until the test run is over. It returns immediately after the test run 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).
|IntegrationObj||An expression, variable or parameter that specifies a reference to an Integration object|
The method is applied to the following object:
The method has the following parameter:
Specifies the name of the desired project. This project must belong to the project suite opened in TestComplete.
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
RunProject 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.
To view an example that demonstrates how to use the
RunProject method, see the Working With TestComplete via COM - Overview help topic.
Working With TestComplete via COM - Overview