OtfProjectStructure
UNDER DEVELOPMENT ...
Contents
Overview
The OTF provides two containers to help you efficiently organize and manage all items, such as Packages, Documents, Layouts and Settings. These containers are called
- Solution and
- Project.
The Solution Explorer can be used to view and manage a solution along with the projects inside and their associated items.
The picture below shows overall structure of the solution and the procedure projects in the OTF. Beginning from right hand side a solution contains one or more projects, a project contains one or more packages, a package contains one or more documents, a document contains one or more procedures and a procedure contains one or more activities. It is possible to call procedures or use global elements such as validities, signatures and global declarations inside the same document (In-Document reference), outside the document yet inside the same procedure project (Cross-Document reference) and outside the project (Cross-Project reference). References to PTX files are also counted as (Cross-Project reference).
OTF Storage Structure |
Solution
A solution contains one or more projects. Solutions group projects together which are needed for the test task as a whole. OTF automatically generates a solution when a new project is created. OTF stores the definition for a solution in two files: *.otfSln and *.otfSuo.
Procedure Project
Procedure projects are used in a solution to logically manage, build and debug Documents and Project Settings. The output of a project is usually a dynamic-link library (.dll) file or a program (.exe), see project Output folder. OTF provides pre- or self-defined Project Templates. You can use these templates to create the basic project container and a preliminary set of items that you might need in order to develop your test application.
A project is a folder containing the OTX documents and all the necessary settings supporting for design time and run time (click here for more information). A project can be exported into a PTX library for many usages. Users can exchange the test sequences to the other computers while all the environment settings are still preserved. The PTX library can be imported back into a solution as a project, or it can be used as a reference in another project. The PTX library can also be used to be executed with the OTX-Runtime API (DotNet OTX-Runtime API/Java OTX-Runtime API).
PTX
A PTX is a project packed in a ZIP archive (Format see ISO 22901 PDX). A PTX can be used as a container for OTX file deployment or as a library for importing in other projects.
A project can be exported to create a PTX via the context menu of a project node in the Solution Explorer.
Structure
A project consists of a project settings file *.otfPrj and the following folders:
Folder Name | Content |
HMI | Settings of the HMI-Extension e.g. Screen-Mapping, see Project Settings. |
i18n | Settings of the I18N-Extension e.g. multilingual text library, see Project Settings. |
JavaOutput | Contains all generated JAR files for executing (click here for more information). |
Logging | Settings of the Logging-Extension, see Project Settings. |
Measure | Settings of the Measure-Extension e.g. Device Mapping, see Project Settings. |
ODX | Settings of the DiagCom-Extension, see Project Settings. |
OTX | Contains the OTX Packages or Documents. |
OTX-Backup | Contains the OTX backup files, see OTF Settings. |
OTX-Mapping | External applications (*.exe or *.dll) using for Device Mapping or Context Mapping, see Project Settings. |
Output | Contains all generated DLL files for executing (click here for more information). |
PTX | Contains PTX libraries used inside the project |
Quantity | Settings of the Quantity-Extension e.g. ODX files with UNIT-SPECS, see Project Settings |
The only mandatory folder of a project is the OTX folder. All other folders can be omitted. Not specified settings will be adjust to default values.
References
All elements inside an OTX Document can be used from another document, if the elements have a sufficient Visibility. The following elements can be referred
Before a global entity can be referred the related document shall be imported, see Imports. If the document is outside the project, a reference to the outside project should be added, see Project Settings.
Player Project
A player project does not contain its own OTX documents but it contains layouts using the elements from the referred projects, it also has all the necessary settings supporting for design time and run time. A player project shall be exported into a PPX library for many usages. Similar to the PTX, a PPX is used for exchanging the test sequences together with the layouts. It can be imported back into a solution as a player project but it can not be referred by any projects. The main usage of a PPX library is to run with the Open Test Player where the data of the test sequences can be displayed in customized graphic layouts.
OTF provides pre- or self-defined Project Templates. You can use these templates to create the basic project container and a preliminary set of items that you might need in order to develop your test application.