public static enum ExecutionContextInfo.ExecProperty extends java.lang.Enum<ExecutionContextInfo.ExecProperty>
ExecutionContextInfo.getProperties().
The string representation of each property is set as Java system property and environment variable (toString() is "#sctm_" plus unique identifier).| Enum Constant and Description |
|---|
BUILD
Represents
"#sctm_build": The name of the build to which execution results are associated. |
DATA_DRIVEN_PARENT_TEST_ID
Represents
"#data_driven_parent_test_id": The numeric identifier (database key) of the parent test if this test executes a data driven row. |
DATA_DRIVEN_PARENT_TEST_NAME
Represents
"#data_driven_parent_test_name": The name of the parent test, if this test executes a data driven row. |
EXTERNAL_ID
Represents
"#external_id": The unique identifier of a test case in a test package to be executed. |
ID
Represents
"#sctm_execdef_id": The numeric identifier (database key) of the execution plan being executed. |
INDICATE_TESTCASE_START_FINISH
Represents
"#sctm_indicateTestCaseStartFinish": If true, a plugin is required to indicate beginning and ending of each sub test case, when executing multiple test cases within one test (for screen or video capturing). |
IS_TEST_PACKAGE_ROOT
Represents
"#is_test_package_root": If true, the test being executed is the root node of the test package (default). |
KEYWORDS
Represents
"#sctm_keywords": Keywords defined for this execution as comma separated list. |
NAME
Represents
"#sctm_execdef_name": The name of the execution plan being executed. |
PORT_TESTCASE_START_FINISH
Represents
#sctm_portTestCaseStartFinish: The port a message must be sent to to indicate beginning and ending of each sub test case if the test runs in a separate process. |
PRODUCT
Represents
"#sctm_product": The name of the product as defined in the executed test container. |
REGULAR_EXECDEF_RUN_ID
Represents
"#sctm_regular_execdef_run_id": The numeric identifier (database key) of the regular execution plan run. |
SOURCE_ROOT_DIR
Represents the local path of the Test Container root directory, where all VCS controlled files reside.
|
TEST_ID
Represents
"#sctm_test_id": The numeric identifier (database key) of the test being executed. |
TEST_NAME
Represents
"#sctm_test_name": The name of the SC test being executed. |
TEST_RESULTS_DIR
Represents
"#sctm_test_results_dir": The path of the directory where test result files reside. |
TUNNEL_TO_INTERNAL_PROXY
Represents
"#sctm_tunnel_to_internal_proxy": If true the application server has opened a tunnel
to the execution server and acts as a proxy to allow testing a website in your local intranet. |
VERSION
Represents
"#sctm_version": The name of the version to which execution results are associated. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns the string representation of this property.
|
static ExecutionContextInfo.ExecProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionContextInfo.ExecProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionContextInfo.ExecProperty NAME
"#sctm_execdef_name": The name of the execution plan being executed. If the execution was triggered from the
Planning unit, a value "Unassigned Tests" is in the properties map.public static final ExecutionContextInfo.ExecProperty ID
"#sctm_execdef_id": The numeric identifier (database key) of the execution plan being executed.public static final ExecutionContextInfo.ExecProperty REGULAR_EXECDEF_RUN_ID
"#sctm_regular_execdef_run_id": The numeric identifier (database key) of the regular execution plan run. For setup and cleanup tests this property contains the run id of the regular run.public static final ExecutionContextInfo.ExecProperty PRODUCT
"#sctm_product": The name of the product as defined in the executed test container.public static final ExecutionContextInfo.ExecProperty VERSION
"#sctm_version": The name of the version to which execution results are associated.public static final ExecutionContextInfo.ExecProperty BUILD
"#sctm_build": The name of the build to which execution results are associated.public static final ExecutionContextInfo.ExecProperty KEYWORDS
"#sctm_keywords": Keywords defined for this execution as comma separated list.public static final ExecutionContextInfo.ExecProperty TEST_RESULTS_DIR
"#sctm_test_results_dir": The path of the directory where test result files reside.public static final ExecutionContextInfo.ExecProperty INDICATE_TESTCASE_START_FINISH
"#sctm_indicateTestCaseStartFinish": If true, a plugin is required to indicate beginning and ending of each sub test case, when executing multiple test cases within one test (for screen or video capturing).
This can be done by calling TestLaunchResultDrain.indicateTestCaseStart(String, String) and TestLaunchResultDrain.indicateTestCaseFinished(String, String, boolean).
If the test runs in a separate process, messages must be sent to the port specified in the property PORT_TESTCASE_START_FINISHESTCASE_START_FINISH
(see API help and TestCaseStartFinishSocketClient.indicateTestStart(java.lang.String, java.lang.String)).public static final ExecutionContextInfo.ExecProperty PORT_TESTCASE_START_FINISH
#sctm_portTestCaseStartFinish: The port a message must be sent to to indicate beginning and ending of each sub test case if the test runs in a separate process.public static final ExecutionContextInfo.ExecProperty TEST_NAME
"#sctm_test_name": The name of the SC test being executed.public static final ExecutionContextInfo.ExecProperty TEST_ID
"#sctm_test_id": The numeric identifier (database key) of the test being executed.public static final ExecutionContextInfo.ExecProperty EXTERNAL_ID
"#external_id": The unique identifier of a test case in a test package to be executed.
This can act as filter if only specific test cases in a test package should be executed.public static final ExecutionContextInfo.ExecProperty IS_TEST_PACKAGE_ROOT
"#is_test_package_root": If true, the test being executed is the root node of the test package (default).
If false, only specific test cases in a test package specified by EXTERNAL_ID should be executed.public static final ExecutionContextInfo.ExecProperty DATA_DRIVEN_PARENT_TEST_NAME
"#data_driven_parent_test_name": The name of the parent test, if this test executes a data driven row.public static final ExecutionContextInfo.ExecProperty DATA_DRIVEN_PARENT_TEST_ID
"#data_driven_parent_test_id": The numeric identifier (database key) of the parent test if this test executes a data driven row.public static final ExecutionContextInfo.ExecProperty SOURCE_ROOT_DIR
public static final ExecutionContextInfo.ExecProperty TUNNEL_TO_INTERNAL_PROXY
"#sctm_tunnel_to_internal_proxy": If true the application server has opened a tunnel
to the execution server and acts as a proxy to allow testing a website in your local intranet.public static ExecutionContextInfo.ExecProperty[] values()
for (ExecutionContextInfo.ExecProperty c : ExecutionContextInfo.ExecProperty.values()) System.out.println(c);
public static ExecutionContextInfo.ExecProperty valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<ExecutionContextInfo.ExecProperty>Copyright © Micro Focus 2004-2019. All rights reserved.