Tutorial Icon
QF-Test Tutorial Video Version

Tutorial as a video version, where we guide you step by step through QF-Test...

Recording Actions

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

Figure 20.7:  Recording actions on the CarConfiguratorForms Demo
  • ActionPlease press the RecordRecord button.
  • Switch to the SUT application window. From now on every mouse and keyboard action performed within the SUT window will be recorded. There is an indication show as red square below the mouse cursor. Just after this has disappeared you may record your action on the component.
  • 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.

NoteA red square below the mouse cursor indicates by its disappearing QF-Test is ready for recording actions on the component.

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

Figure 20.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 20.9:  The Renamed Sequence

Now, let us replay the recorded sequence.

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

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.