Difference between revisions of "OtfFirstSteps"

From emotive
Jump to navigation Jump to search
Line 53: Line 53:
 
----
 
----
  
[[Image:FirstStepsPage8.png|900px]]
+
[[Image:FirstStepsPage8.png|850px]]
  
  
Line 65: Line 65:
 
==Adjust Request/Response parameter settings==
 
==Adjust Request/Response parameter settings==
  
[[Image:FirstStepsPage10.png|800px]]
+
[[Image:FirstStepsPage10.png|850px]]
  
  
Line 71: Line 71:
 
==Bind Response parameters to new created OTX variables==
 
==Bind Response parameters to new created OTX variables==
  
[[Image:FirstStepsPage11.png|800px]]
+
[[Image:FirstStepsPage11.png|1000px]]
  
  
Line 77: Line 77:
 
==Execute the procedure and look at the Communication trace window==
 
==Execute the procedure and look at the Communication trace window==
  
[[Image:FirstStepsPage12.png|800px]]
+
[[Image:FirstStepsPage12.png|1000px]]
  
  
 
==Create a procedure parameter for input and output==
 
==Create a procedure parameter for input and output==
  
[[Image:FirstStepsPage13a.png|800px]]
+
[[Image:FirstStepsPage13a.png|850px]]
  
  
Line 89: Line 89:
 
<span style="color:red">For experts only!</span> Also the graphical designer can be used. OTL-Editor and designer are fully synchronized.
 
<span style="color:red">For experts only!</span> Also the graphical designer can be used. OTL-Editor and designer are fully synchronized.
  
[[Image:FirstStepsPage14.png|800px]]
+
[[Image:FirstStepsPage14.png|900px]]
  
  
Line 99: Line 99:
 
==The sequence project is done, now start with a simple player==
 
==The sequence project is done, now start with a simple player==
  
[[Image:FirstStepsPage15.png|1200px]]
+
[[Image:FirstStepsPage15.png|1100px]]
  
 
==Create a player project to execute it in stand alone OTP==
 
==Create a player project to execute it in stand alone OTP==
Line 113: Line 113:
 
==Create controls and bind to procedures and parameters==
 
==Create controls and bind to procedures and parameters==
  
[[Image:FirstStepsPage18.png|800px]]
+
[[Image:FirstStepsPage18.png|1000px]]
  
 
==Start the player, select the ODX database, done!==
 
==Start the player, select the ODX database, done!==
  
 
[[Image:FirstStepsPage19.png|800px]]
 
[[Image:FirstStepsPage19.png|800px]]

Revision as of 13:14, 19 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.


Open OTF and create new project

FirstStepsPage1.png

Insert an Assignment-Activity

FirstStepsPage2.png


Adjust activity settings

FirstStepsPage3.png


Create a new variable

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 new 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