29.4 Setting up a test suite

The base structure beneath the root node of a test suite is defined by the following nodes:

Functional test cases are represented by Test case nodes and grouped or structured via Test set nodes.

Setup and Cleanup nodes can contain actions to ensure a well-defined state before and after a test case.

Figure 29.10:  Beginning the structuring

Next we want to turn the two previously recorded sequences into a test case.

If you do not open the Test case node, QF-Test will try to insert the sequence nodes after the Test case node at the same level. However, this is not permitted for sequence nodes.

QF-Test always records sequences. These serve the same purpose as test steps. Test steps, however, are listed in the report. You can convert between them, which we will demonstrate for information in the following steps.

Figure 29.11:  The tree after restructuring

On Android and iOS the shutdown of the emulator/simulator cannot be recorded. Instead, use a Stop program node.

Figure 29.12:  Simple cleanup sequence for Mobile

With that we have completed the most important steps to structure our test suite.