Extensions.TestResultHandling.GetTestResultSession

From emotive
Jump to navigation Jump to search

Classification

Name GetTestResultSession
Short Description Get a TestResultSession from the test result handling framework
Class Term
Extension OTX TestResultHandling extension
Group TestResultHandling related Terms
Exceptions testResult:TestResultSessionException
Checker Rules -
Standard Compliant Yes

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.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
testResult:TestResultSession Get a TestResultSession from the test result handling framework

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

AddFileToTestResult
AddInfoToTestResult
CloseTestResultSession
MultipleLimit
MultipleOrSingleLimit
SetDtcTestResult
SetEqualityTestResult
SetListTestResult
SetMapTestResult
SetTestResult
SetTestResultHandlingLevel
SetToleranceTestResult
SetValueTestResult
GetTestResultContainerByName
GetTestResultState