Difference between revisions of "Extensions.TestResultHandling.AddInfoToTestResult"
Jump to navigation
Jump to search
(Created by Ngoc Tran.) |
(Edited by Ngoc Tran.) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''AddInfoToTestResult'''}}[[Category:TestResultHandling]] | {{DISPLAYTITLE:OTX '''AddInfoToTestResult'''}}[[Category:TestResultHandling]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | AddInfoToTestResult | | + | {{ClassificationActivity | AddInfoToTestResult | Adds additional information to a [[Extensions.TestResultHandling.TestResultContainer|TestResultContainer]] within a [[Extensions.TestResultHandling.TestResultSession|TestResultSession]] | [[Action]] | [[Extensions.TestResultHandling|OTX TestResultHandling extension]] | [[Extensions.TestResultHandling#Actions|TestResultHandling related Actions]]| [[Extensions.TestResultHandling.TestResultContainerException|testResult:TestResultContainerException]] <br/> [[Extensions.TestResultHandling.TestResultException|testResult:TestResultException]] <br/> [[Extensions.TestResultHandling.TestResultSessionException|testResult:TestResultSessionException]]| - |}} |
== OTL Syntax == | == OTL Syntax == |
Latest revision as of 10:11, 18 November 2019
Classification
Name | AddInfoToTestResult |
Short Description | Adds additional information to a TestResultContainer within a TestResultSession |
Class | Action |
Extension | OTX TestResultHandling extension |
Group | TestResultHandling related Actions |
Exceptions | testResult:TestResultContainerException testResult:TestResultException testResult:TestResultSessionException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ActionRealisation TestResultHandling.AddInfoToTestResult(TestResultSessionTerm testResultSession, TestResultContainerTerm testResultContainer, StringTerm information);
Description
The AddFileToTestResult action adds a file to a TestResultContainer within a TestResultSession by defining the file path. The use case is adding files after evaluating the test result, e.g. adding a CAN trace file in case of a NOT_OK TestResultState.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
testResultSession | testResult:TestResultSession | Term | - | [1..1] | The TestResultSession in which the test results are to be handled. |
testResultContainer | testResult:TestResultContainer | Term | - | [1..1] | The TestResultContainer which will receive the additional information. |
information | otx:String | Term | - | [1..1] | The textual information which will be added. |