28.4 Second Test case - with Error

The second test case will show us what will happen when an error occurs during test execution.

Figure 28.9:  The "Second" Test case node

Except for the third test step it is identical to the first test case. So what does the unknown step do?

Test step: Grant 5% discount – presses the 5% discount button.

Figure 28.10:  Details of the second test case

Let's execute the second test case:

This time a dialog shows up telling us that an error occurred.

Figure 28.11:  Error in the second test case

What happened? To find out we'll open the QF-Test run log for error analysis.

An alternative approach for error analysis would be to execute the test case again using the debugger. This will be explained in chapter Using the Debugger (Mobile).