OTX Reference  
OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult Class Reference

The abstract type SetTestResult serves as a base for all concrete actions which set the test result of a TestResultContainer within a TestResultSession. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult:
Inheritance graph

Public Attributes

StringTerm description
 This optional element can be used for a textual description of the test result. More...
 
MapTerm properties
 This optional element can be used for setting properties of the test result (e.g. a print condition, an identifier for forwarding the result value to a downstream IT system). The keys and values of the map shall be only of otx:CountableType. More...
 
TestResultSeverityTerm severity
 This element represents the TestResultSeverity of the test result. More...
 
TestResultContainerTerm testResultContainer
 The TestResultContainer which shall receive the test result. More...
 
TestResultSessionTerm testResultSession
 The TestResultSession in which the test results are to be handled. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

The abstract type SetTestResult serves as a base for all concrete actions which set the test result of a TestResultContainer within a TestResultSession.

All derived actions shall cause the OTX runtime system to capture and evaluate the test result, provided that the TestResultSeverity of that test result is higher or equal than the currently set TestResultHandlingLevel threshold.
If the assigned TestResultContainer has child TestResultContainers the TestResultContainer cannot be assigned its own test result.It is forbidden to set a test result of a parent TestResultContainer by SetTestResult derived actions.

Member Data Documentation

◆ description

StringTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult.description

This optional element can be used for a textual description of the test result.

◆ properties

MapTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult.properties

This optional element can be used for setting properties of the test result (e.g. a print condition, an identifier for forwarding the result value to a downstream IT system). The keys and values of the map shall be only of otx:CountableType.

◆ severity

TestResultSeverityTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult.severity

This element represents the TestResultSeverity of the test result.

Note
IMPORTANT — If this optional element is omitted, the default value shall be TRACK.

◆ testResultContainer

TestResultContainerTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult.testResultContainer

The TestResultContainer which shall receive the test result.

◆ testResultSession

TestResultSessionTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult.testResultSession

The TestResultSession in which the test results are to be handled.