Tutorial

Video Icon

In the near future we will upload videos for every chapter of the tutorial which will lead you step by step through QF-Test.

2.5
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 recoding Record.
  • Record the menu SUT menu action »File«-»Exit«.
  • You see the demo window close.
  • Stop recording Stop.
  • 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.

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.