Over time we are going to upload videos for every chapter of the tutorial which will lead you step by step through QF-Test.

Recording Actions

You're now ready to record some actions for our demo:

Figure 11.7:  Recording actions on the WebCarConfigurator Demo
  • ActionPlease press the Record Record button.
  • Switch to the WebCarConfigurator window. From now on every mouse and keyboard action performed within the SUT window will be recorded.
  • Click to the table cell I5 in the last row.
  • Change to the Specials tab of the tabbed pane.
  • Choose the special Jazz from the combo box.
  • Finally switch back to the Vehicles tab in the tabbed pane.
  • Stop the recording by use of the Stop button.

You'll find the recorded sequence placed in the "Extras" section:

Figure 11.8:  The Recorded Sequence

The recorded sequence has a default name with date and time of the recording. You can change this name as you see fit by simply clicking on the node and changing its properties in the details view on the right.

  • ActionPlease rename the recorded sequence to "Select Model I5 Jazz".
  • Then open the sequence node to see its content. There should be the expected mouse clicks. You should even be able to interpret where they go to.
Figure 11.9:  The Renamed Sequence

Now, let us replay the recorded sequence.

  • Action Select the Select Model I5 Jazz sequence node.
  • Press the play button Play.

You should now see exactly the same sequence of mouse events executed in the SUT as you recorded before.

The sequence is supposed to replay (even multiple times) without errors. You should see "Finished: No error" in the bottom right corner of your test-suite window.