![]() |
OTX Reference
|
|
Document root More...
Classes | |
class | ExtensibleElement |
A new ExtensibleElement More... | |
class | Imports |
Contains a list of Import elements for importing other OTX documents. More... | |
class | Procedures |
A list of Procedure elements. More... | |
class | Signatures |
Interface description (Signature) More... | |
class | Validities |
A list of global scope validity terms. More... | |
Public Types | |
enum class | OtxModelVersion { Item2022 , Item20221 } |
This optional attribute shall contain the model version of the OTX document. “2022” means that the model version is ISO 13209-2:2022. “2022.1” refers to an amendment which includes a change to the specification element. For backwards compatibility the attribute can be omitted. In this case the model version is 2012 or ISO 13209-2:2012. More... | |
Public Attributes | |
AdminData | adminData |
Cardinality [0..1] Version history information More... | |
GlobalDeclarations | declarations |
Cardinality [0..1] Element representing the global declaration block where global constants, context variables and global variables will be defined. More... | |
ExtensibleElement[] | extendedElement |
Cardinality [0..*] Declares a general element which can be extented by new general functionality defined in new OTX extensions using the standardised extension mechanism, example: test cases for unit tests. More... | |
Imports | imports |
Cardinality [0..1] Contains a list of Import elements for importing other OTX documents. More... | |
OtxModelVersion | modelVersion |
Cardinality [0..1] This optional attribute shall contain the model version of the OTX document. More... | |
PackageName | package |
Cardinality [1] Name of a OTX package More... | |
Procedures | procedures |
Cardinality [0..1] A list of Procedure elements. More... | |
Signatures | signatures |
Cardinality [0..1] A list of Signature elements. More... | |
System.DateTime | timestamp |
Cardinality [1] Timestamp of the OTX document More... | |
Validities | validities |
Cardinality [0..1] A list of global scope validity terms. More... | |
System.String | version |
Cardinality [1] Version of the OTX document More... | |
![]() | |
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... | |
Document root
This element stands for the document root (root node) of OTX documents. It serves as the "entry point" for any OTX parsing application and constitutes a kind of envelope around the test sequence logic itself. It mainly comprises header information for packaging, naming and versioning of an OTX document and about the links to other OTX documents (Import information). It is also the parent for all global entities defined in a document, namely global constants, document variables, context variables, validities, signatures and procedures.
Every OTX document starts with the document root element otx
which is derived from the complex type Otx, see picture. For the transport of OTX projects consisting out of numerous interlinked OTX-files and packages, the PTX format specified by ISO 13209-4 must be used.
|
strong |
This optional attribute shall contain the model version of the OTX document. “2022” means that the model version is ISO 13209-2:2022. “2022.1” refers to an amendment which includes a change to the specification element. For backwards compatibility the attribute can be omitted. In this case the model version is 2012 or ISO 13209-2:2012.
Enumerator | |
---|---|
Item2022 | “2022” means that the model version is ISO 13209-2:2022. |
Item20221 | “2022.1” refers to an amendment which includes a change to the specification element. |
AdminData OpenTestSystem.Otx.Core.Otx.adminData |
Cardinality [0..1]
Version history information
This optional element can be used for linking to Document history information. The history information shall be structured according to the ADMINDATA element as specified in ISO 22901 ODX. The linked information should be located in the top-level MetaData element of the document, but it may also be stored externally.
GlobalDeclarations OpenTestSystem.Otx.Core.Otx.declarations |
Cardinality [0..1]
Element representing the global declaration block where global constants, context variables and global variables will be defined.
ExtensibleElement [] OpenTestSystem.Otx.Core.Otx.extendedElement |
Cardinality [0..*]
Declares a general element which can be extented by new general functionality defined in new OTX extensions using the standardised extension mechanism, example: test cases for unit tests.
Imports OpenTestSystem.Otx.Core.Otx.imports |
Cardinality [0..1]
Contains a list of Import
elements for importing other OTX documents.
OtxModelVersion OpenTestSystem.Otx.Core.Otx.modelVersion |
Cardinality [0..1]
This optional attribute shall contain the model version of the OTX document.
PackageName OpenTestSystem.Otx.Core.Otx.package |
Cardinality [1]
Name of a OTX package
OTX documents will be stored in a file system. Certain constraints on the organisation of files and folders allow a simple implementation to find OTX documents easily. The same applies to the uniqueness of file names, which is ensured automatically by the file system, because the OTX-files reside within a folder dedicated to their common package. The package name (in dotted notation) can simply be translated into a directory path or vice versa, whereas the OTX document name can be translated directly to the file name.
Procedures OpenTestSystem.Otx.Core.Otx.procedures |
Cardinality [0..1]
A list of Procedure elements.
Signatures OpenTestSystem.Otx.Core.Otx.signatures |
Cardinality [0..1]
A list of Signature elements.
System.DateTime OpenTestSystem.Otx.Core.Otx.timestamp |
Cardinality [1]
Timestamp of the OTX document
Contains the Timestamp of the OTX document. Format: "CCYYMMDDThhmmss"
, e.g.: "2019-12-10T06:14:02.859+01:00"
.
Validities OpenTestSystem.Otx.Core.Otx.validities |
Cardinality [0..1]
A list of global scope validity terms.
System.String OpenTestSystem.Otx.Core.Otx.version |
Cardinality [1]
Version of the OTX document
Contains the version of the OTX document (for supporting versioning systems). Recommendation: "MajorVersion.MinorVersion.BranchRevision.Revision"
, e.g.: "1.0.0.0"
.