Difference between revisions of "Extensions.TestResultHandling.CloseTestResultSession"
Jump to navigation
Jump to search
(Created by Ngoc Tran.) |
(No difference)
|
Latest revision as of 08:17, 18 November 2019
Classification
Name | CloseTestResultSession |
Short Description | Closes a created TestResultSession and will cause the OTX runtime system to finally write the test results into the persistence layer |
Class | Action |
Extension | OTX TestResultHandling extension |
Group | TestResultHandling related Actions |
Exceptions | otx:InvalidReferenceException testResult:TestResultSaveException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ActionRealisation TestResultHandling.CloseTestResultSession(TestResultSessionVariable testResultSession);
Description
The CloseTestResultSession action closes a created TestResultSession and will cause the OTX runtime system to finally write the test results into the persistence layer. If a test sequence uses a TestResultSession after it’s been closed by a CloseTestResultSession action, the runtime system will throw an otx:InvalidReferenceException.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
testResultSession | testResult:TestResultSession | Variable | - | [1..1] | The TestResultSession which will be closed. |