Extensions.TestResultHandling.CloseTestResultSession

From emotive
Revision as of 10:17, 18 November 2019 by Nb (talk | contribs) (Created by Ngoc Tran.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.


See also

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