class
IScriptTestCaseObject.
IScriptTestCaseObject
Bases: object
Class provides methods for manipulating test case objects and run them completly or just specific test sets / test runs.
resource_references
Gets a sequence of the referenced IScriptTestResourceObject names.
List of IScriptVarDeclaration
description
The description of this test case.
string
is_parameterized_test_case_feature_activated
Retrieves or sets a value indicating the "parameterized test case feature" is activated.
bool
test_data_variable_name
Retrieves or sets the name of the test data variable.
string
test_data_type_name
Retrieves or sets the data type (DUT) used the definition of test runs.
string
test_set_references
Retrieves a sequence of the referenced IScriptTestSetObject names.
List of string
run
application=None
Starts executing the TestCase on the active application. This method instantly returns; execution runs asynchronously.
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 -- Reported when test execution could not be started. This can have several reasons (not logged in, object to test cannot be executed, no task referencing the test suite, ...)
When a TestStartImpossibleException is reported, no test result has been created.
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, the 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 -- Reported when test execution could not be started. This can have several reasons (not logged in, object to test cannot be executed, no task referencing the test suite, ...)
When a TestStartImpossibleException is reported, no test result has been created.
prepare
Retrieves the 'Prepare' test method or null (None) if the method does not exist.
IScriptObject
execute
Retrieves the 'Execute' test method or null (None) if the method does not exist.
IScriptObject
finalize
Retrieves the 'Finalize' test method or null (None) if the method does not exist.
IScriptObject
cleanup
Retrieves the 'Cleanup' test method or null (None) if the method does not exist.
IScriptObject