![]() |
OTX Reference
|
|
Closes a created TestResultSession More...

Public Attributes | |
| TestResultSessionVariable | testResultSession |
| Cardinality [1] The TestResultSession which shall be closed. More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation | |
| OtxLink | validFor |
| Cardinality [0..1] Validity of ActionRealisation. More... | |
Closes a created TestResultSession
The CloseTestResultSession activity to closes a created TestResultSession and shall cause the OTX runtime system to finally write the results into the persistence layer.
If a test sequence uses a TestResultSession after it’s been closed by a CloseTestResultSession action, the runtime system shall throw an otx:InvalidReferenceException.
Closing an uninitialized or already closed TestResultSession shall perform no operation and report no errors.It shall be for all effects a NOP.
| Exceptions.TestResultSaveException | This exception is thrown if the changes within the TestResultSession can’t be written into the persistence layer. In this case the TestResultSession shall not be closed. |
| TestResultSessionVariable OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.CloseTestResultSession.testResultSession |
Cardinality [1]
The TestResultSession which shall be closed.