OTX Reference  
OpenTestSystem.Otx.Core.Validity Class Reference

Boolean expressions to determine validity of elements More...

Inheritance diagram for OpenTestSystem.Otx.Core.Validity:
Inheritance graph

Public Attributes

BooleanTerm realisation
 The condition for the validity More...
 
Visibility visibility
 Visibility of the valitity More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.UniversalTypes.NamedAndSpecified
ExtensibleData[] extendedData
 Declares general data for NamedAndSpecified which can be extented by new general data defined in new OTX extensions using the standardised extension mechanism. For example it can be used to specify specification relevant content in a better structured way. More...
 
OtxId id
 Unique identifier of an element More...
 
MetaData metaData
 Additional tool-specific data More...
 
OtxName name
 Name of an element More...
 
NamedAndSpecifiedSpecification[] specification
 Descriptive specification More...
 

Detailed Description

Boolean expressions to determine validity of elements

OTX documents may contain a list of validity terms. This is required for the validities concept. A validity term is a uniquely named, reusable Boolean term which is defined at global level. Validity terms are primarily used to configure test sequence behaviour according to runtime context. In contrast to Boolean context variables which can be used as validity, too, validity terms allow describing compound Boolean expressions which may depend on more than just one Boolean value. Validities can be addressed cross-document; this allows defining a set of popular validities in a central OTX document which can be reused by other OTX documents. Action nodes, Group nodes and Procedures can be connected to validity terms by the validFor attribute. At runtime, the Boolean term value of the referenced validity term is evaluated; it determines whether an ActionRealisation, GroupRealisation or a Procedure is valid or not.

Member Data Documentation

◆ realisation

BooleanTerm OpenTestSystem.Otx.Core.Validity.realisation

The condition for the validity

The BooleanTerm given by the realisation element represents the validity condition: The validity term holds if and only if the term evaluation returns true with respect to the runtime context.

◆ visibility

Visibility OpenTestSystem.Otx.Core.Validity.visibility

Visibility of the valitity