Tutorial Icon
QF-Test Tutorial version vidéo

Tutoriel en version vidéo: Nous vous guidons pas à pas à travers QF-Test...

Stopping the Demo

The only thing missing now is a cleanup sequence closing down the SUT.

There are usually various ways to terminate an SUT, e.g. clicking the close button of the application window, pressing ALT-F4 or via the menu action »File«-»Exit«. All these options can be directly recorded and then used in the clean-up sequence.

Let's use the last one. So please perform the following steps.

  • ActionStart recodingRecord.
  • Record the menu SUT menu action »File«-»Exit«.
  • You see the demo window close.
  • Stop recordingStop.
  • Rename the recorded sequence to "Stop demo".
  • Open the context menu for the recorded sequence and select »Convert into...«-»Cleanup«.
  • Finally move the cleanup node up to be the last node in the test-set.

Note The cleanup node can only be dragged and dropped to the test-set if the test-set's last child node is collapsed. To expand or collapse a node during a drag and drop operation, hold your cursor over the triangle next to the node.

You should end up with the following:

Figure 2.14:  The simple cleanup sequence

By this we have finished with the basic steps of structuring our suite.