Open Test Framework - First Steps

From emotive
Jump to: navigation, search

In this section, we would like to step-by-step help you get started in the Open Test Framework. We assume that the OTF is already installed and activated.

First steps as Text

Here you can find the First steps as Text.


Create new OTX sequence project

Start the OTF, go to the StartPage and follow instructions in the images below.

FirstStepsPage1.png

Insert an Assignment activity

FirstStepsPage2.png


Adjust activity settings

FirstStepsPage3.png


A new variable has been created

FirstStepsPage4.png

Insert a ConfirmDialog activity of HMI extension

FirstStepsPage5.png


Adjust activity settings

FirstStepsPage6.png


Execute your first procedure and look at the Variable Trace window

FirstStepsPage7.png



Adjust settings for ECU communication


Exclamation.png Important: Please note that this is only possible if a diagnostic runtime system (MVCI-Server) is installed at the PC!

If no MVCI-Server is installed, you can ignore the following steps.


FirstStepsPage8.png


Insert an ExecuteDiagService activity of DiagCom extension

FirstStepsPage9.png


Adjust Request/Response parameter settings

FirstStepsPage10.png


Bind Response parameters to newly created OTX variables

FirstStepsPage11.png


Execute the procedure and look at the Communication Trace window

FirstStepsPage12.png


Create a procedure parameter for input and output

FirstStepsPage13a.png


Add new activity via OTL editor

For experts only! Also the graphical designer can be used. OTL-Editor and designer are fully synchronized.

FirstStepsPage14.png


Please input the following code after the last row in code editor, see picture. You will be supported bny the auto complete feature of the editor.

InOutParameterDeclaration1 = StringUtil.StringConcatenate({"ProductionDate: ", ToString(Day1), "-", ToString(Month1), "-", ToString(Year1)});

The sequence project is done, now start with a simple player

FirstStepsPage15.png

Create a player project to execute it in stand alone OTP

FirstStepsPage16.png

A monitor will be created

FirstStepsPage17.png

The monitor consits of an adjustable table layout with different panels which contain the controls.

Create controls and bind to procedures and parameters

FirstStepsPage18.png

Start the player, select the ODX database, done!

FirstStepsPage19.png