Difference between revisions of "OtfProjectStructure"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:Open Test Framework - Solutions and Projects}}[[Category:OTF]]
 
{{DISPLAYTITLE:Open Test Framework - Solutions and Projects}}[[Category:OTF]]
 
==Overview==
 
==Overview==
The OTF provides two containers to help you efficiently organize and manage all items, such as [[Otx.Package|Packages]], [[Otx.Document|Documents]] and [[OtfProjectSettings|Settings]]. These containers are called
+
The OTF provides two containers to help you efficiently organize and manage all items, such as [[OtxPackages|Packages]], [[OtxDocuments|Documents]] and [[OtfProjectSettings|Settings]]. These containers are called
 
* '''Solution''' and
 
* '''Solution''' and
 
* '''Project'''.
 
* '''Project'''.

Revision as of 20:08, 26 November 2014

Overview

The OTF provides two containers to help you efficiently organize and manage all items, such as Packages, Documents and Settings. These containers are called

  • Solution and
  • Project.

The Solution Explorer can be used to view and manage projects, solutions and their associated items.

The picture below shows the overall storage structure inside the OTF. Beginning from right hand side a solution contains one ore more projects, a project contains one ore more packages, a package contains one ore more documents, a document contains one ore more procedures and a procedure contains one ore more activities. It is possible to call procedures or use global declarations inside the same document (In-Document reference), outside the document and inside the same project (Cross-Document reference) and outside the project (Cross-Project reference).

OdfStorageStructure.png
OTF Storage Structure

Furthermore a project can be packed into a PTX.

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.

Project

Projects are used in a solution to logically manage, build and debug Documents and Project Settings. The executable 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 [[OtfTemplates|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.

PTX

A PTX is a project packed in a ZIP archive with a content file (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.

Project Structure

Project Structure

A project consists of a project settings file *.otfPrj and the following folders:

Folder Name Content
APPs External applications (*.exe or *.dll) using for Device Mapping or Context Mapping, see Project Settings.
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
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
Output Contains all generated files for executing
PTX Contains PTX libraries used inside the project
Quantity Settings of the Quantity-Extension e.g. ODX files with UNIT-SPECS, see Project Settings
Icons Note.png 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.

Managing Project References