Difference between revisions of "OtfFirstSteps"

From emotive
Jump to navigation Jump to search
Line 8: Line 8:
  
  
==Open OTF and create new project==
+
==Create new OTX sequence project==
 +
 
 +
Start the OTF, go to the [[OtfStartPage|StartPage]] and follow instructions in the images below.
  
 
[[Image:FirstStepsPage1.png|980px]]
 
[[Image:FirstStepsPage1.png|980px]]
  
==Insert an Assignment-Activity==
+
==Insert an Assignment activity==
  
 
[[Image:FirstStepsPage2.png|1000px]]
 
[[Image:FirstStepsPage2.png|1000px]]
Line 28: Line 30:
 
[[Image:FirstStepsPage4.png|350px]]
 
[[Image:FirstStepsPage4.png|350px]]
  
==Insert a ConfirmDialog-Activity of HMI Extension==
+
==Insert a ConfirmDialog activity of HMI extension==
  
 
[[Image:FirstStepsPage5.png|1000px]]
 
[[Image:FirstStepsPage5.png|1000px]]
Line 40: Line 42:
  
  
==Execute your first procedure and look at the Variable trace window==
+
==Execute your first procedure and look at the [[OtfTraceWindow|Variable Trace window]]==
  
 
[[Image:FirstStepsPage7.png|1000px]]
 
[[Image:FirstStepsPage7.png|1000px]]
Line 57: Line 59:
  
  
==Insert an ExecuteDiagService-Activity of DiagCom Extension==
+
==Insert an ExecuteDiagService activity of DiagCom extension==
  
 
[[Image:FirstStepsPage9.png|1000px]]
 
[[Image:FirstStepsPage9.png|1000px]]
Line 69: Line 71:
  
  
==Bind Response parameters to new created OTX variables==
+
==Bind Response parameters to newly created OTX variables==
  
 
[[Image:FirstStepsPage11.png|1000px]]
 
[[Image:FirstStepsPage11.png|1000px]]
Line 75: Line 77:
  
  
==Execute the procedure and look at the Communication trace window==
+
==Execute the procedure and look at the [[OtfTraceWindow|Communication Trace window]]==
  
 
[[Image:FirstStepsPage12.png|1000px]]
 
[[Image:FirstStepsPage12.png|1000px]]
Line 103: Line 105:
 
==Create a player project to execute it in stand alone OTP==
 
==Create a player project to execute it in stand alone OTP==
  
[[Image:FirstStepsPage16.png|800px]]
+
[[Image:FirstStepsPage16.png|750px]]
  
 
==A monitor will be created==
 
==A monitor will be created==
  
[[Image:FirstStepsPage17.png|800px]]
+
[[Image:FirstStepsPage17.png|750px]]
  
 
The monitor consits of an adjustable table layout with different panels which contain the controls.
 
The monitor consits of an adjustable table layout with different panels which contain the controls.
Line 117: Line 119:
 
==Start the player, select the ODX database, done!==
 
==Start the player, select the ODX database, done!==
  
[[Image:FirstStepsPage19.png|800px]]
+
[[Image:FirstStepsPage19.png|750px]]

Revision as of 04:22, 23 October 2018

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