class
IScriptTestCaseObject2.
IScriptTestCaseObject2
Bases: object
Class provides methods for manipulating test case objects and run them completly or just specific test sets / test runs.
run_partly
test_set
run_id=0
application=None
Starts executing the TestCase on the active application. This method instantly returns; execution runs asynchronously.
test_set (IExtendedObject<IScriptObject>) -- The test set to execute.
run_id (uint) -- Index of the run in the context of the specified test set. If this parameter is omitted or 0 is passed, all runs of the specified test set are executed. (This parameter is optional.)
application (IExtendedObject<IScriptObject>) -- The application object to use. If this parameter is omitted, the active application is used. (This parameter is optional.)
The result of the test run.
TestStartImpossibleException -- is thrown when test execution could not be started. This can have several reasons (not logged in, object to test can't be executed, no task referencing the test suite, ...)
When a TestStartImpossibleException is thrown, no test result has been created.