Extensions.TestResultHandling.SetValueTestResult
Classification
Name | SetValueTestResult |
Short Description | Sets the TestResult of a TestResultContainer within a TestResultSession by assigning an actual value and a defined TestResultState |
Class | Action |
Extension | OTX TestResultHandling extension |
Group | TestResultHandling related Actions |
Exceptions | testResult:TestResultContainerException testResult:TestResultException testResult:TestResultSessionException |
Checker Rules | TestResultHandling_Chk003 |
Standard Compliant | Yes |
OTL Syntax
ActionRealisation TestResultHandling.SetValueTestResult(otx:SimpleTerm actualValue, testResult:TestResultStateTerm testResultState, testResult:TestResultSessionTerm testResultSession, testResult:TestResultContainerTerm testResultContainer, testResult:TestResultSeverityTerm severity, otx:StringTerm description, otx:MapTerm properties);
Description
The SetValueTestResult action sets the TestResult of a TestResultContainer within a TestResultSession by assigning an actual value and a defined TestResultState.
It inherits its basic members from the abstract type SetTestResult.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
actualValue | otx:SimpleTerm | Term | - | [1..1] | The actual value which will be assigned to the TestResult. |
testResultState | testResult:TestResultState | Term | - | [1..1] | The TestResultState which is to defined. |
testResultSession | testResult:TestResultSession | Term | - | [1..1] | (derived from SetTestResult) The TestResultSession in which the test results are to be handled. |
testResultContainer | testResult:TestResultContainer | Term | - | [1..1] | (derived from SetTestResult) The TestResultContainer which will receive the test result. |
severity | testResult:TestResultSeverity | Term | TRACK | [0..1] | (derived from SetTestResult) This element represents the TestResultSeverity of the test result. |
description | otx:String | Term | - | [0..1] | (derived from SetTestResult) This optional element can be used for a textual description of the test result. |
properties | otx:Map | Term | - | [0..1] | (derived from SetTestResult) This optional element can be used for setting properties of the test result (e.g. a print condition, an identifier for forwarding the test result value to a downstream IT system). The keys and values of the map will be only of otx:CountableType (see ISO 13209-2). |