(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Classification
OTL Syntax
testResult:TestResultSessionTerm TestResultHandling.GetTestResultSession(otx:StringTerm testObjectIdentifier, otx:StringTerm testIdentifier, otx:ListTerm additionalTags);
Description
The GetTestResultSession term gets a TestResultSession from the test result handling framework. The TestResultSession is identified by a test object identifier, a test identifier and optional additional tags.
If a TestResultSession with the same identifiers already exists during runtime execution, the existing TestResultSession will be reopened.
If no TestResultSession with the same identifiers already exists during runtime execution, a new TestResultSession will be created.
It is possible to manually control the lifecycle of a TestResultSession object by closing a TestResultSession using the CloseTestResultSession action. This is up to the author of a test sequence. An OTX runtime system will clean up open TestResultSessions at the end of a runtime execution.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
testObjectIdentifier |
otx:String |
Term |
- |
[1..1] |
The identifier of the test object for which the test results will be handled, e.g. the VIN of a vehicle.
|
testIdentifier |
otx:String |
Term |
- |
[1..1] |
The identifier of the test execution in which the test results will be handled, e.g. the name of a test station.
|
additionalTags |
otx:List |
Term |
- |
[0..1] |
Additional tags as a list of strings which will be optionally defined for the TestResultSession.
|
See also