OTX Reference  
OpenTestSystem.Otx.Extensions.TestResultHandling.Terms.GetTestResultState Class Reference

Gets the TestResultState of a TestResultContainer More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.TestResultHandling.Terms.GetTestResultState:
Inheritance graph

Public Attributes

TestResultContainerTerm testResultContainer
 The TestResultContainer from which the TestResultState shall be received. More...
 
TestResultSessionTerm testResultSession
 The TestResultSession from which the TestResultState shall be received. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Gets the TestResultState of a TestResultContainer

The GetTestResultState activity returns the TestResultState of a TestResultContainer according to an opened TestResultSession.

Syntax
TestResultStateTerm = TestResultHandling.GetTestResultState(TestResultSessionTerm testResultSession, TestResultContainerTerm testResultContainer);
TestResultSessionTerm testResultSession
The TestResultSession from which the TestResultState shall be received.
Definition: TestResultHandling.cs:2028
TestResultContainerTerm testResultContainer
The TestResultContainer from which the TestResultState shall be received.
Definition: TestResultHandling.cs:2038
Examples
// Local Declarations
TestResultHandling.TestResultSession TestResultSession1;
TestResultHandling.TestResultContainer TestResultContainer1;
TestResultHandling.TestResultState TestResultState1 = @TestResultState:NOT_TESTED;
// Flow
TestResultSession1 = TestResultHandling.GetTestResultSession("emotive", "244");
TestResultContainer1 = TestResultHandling.GetTestResultContainerByName(TestResultCon2);
TestResultHandling.SetValueTestResult(TestResultSession1, TestResultContainer1, NULL, NULL, NULL, TestResultState1, TestResultState1);
TestResultState1 = TestResultHandling.GetTestResultState(TestResultSession1, TestResultContainer1);
TestResultHandling.CloseTestResultSession(TestResultSession1);
@ NOT_TESTED
The TestResultContainer has not been tested yet.This is the most critical state.

Member Data Documentation

◆ testResultContainer

TestResultContainerTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Terms.GetTestResultState.testResultContainer

The TestResultContainer from which the TestResultState shall be received.

◆ testResultSession

TestResultSessionTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Terms.GetTestResultState.testResultSession

The TestResultSession from which the TestResultState shall be received.