This tutorial explains how to record and replay a scenario in the editor Embedded Server.
Start the embedded Server
First look at the Editor Embedded Server tutorial to open the Embedded Server. At the end of this tutorial, the Client window has the following configuration:
Record a scenario
We will record a scenario. Look at the toolbar for the Scenario Plugin:
: Select the file on which the scenario will be recorded
: Start the recording
Now you can send messages from the Client to the Server. Apply the Client tutorial to send several messages from the Client to the Server.
Now Stop the recording:
: Select the file on which the scenario will be recorded
Stop the Recording
The XML file corrsponding to the scenario has been saved.
Replay a scenario
First manually set back the fill color of the Triangle_1 widget to white so as to go back to the initial configuration of the widgets[1]
: Open the file on which the scenario has been recorded
: Play the recording
The Server window will change according to what happened in the recording. At the end, if you changed the color from white to green, you will see again the following display: