28.4 Second Test case - with Error
The second test case will show us what will happen when an error occurs during test execution.
- Action Expand the node Test case: Second (with Error).
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.
Let's execute the second test case:
- Action Select the node Test case: Second (with Error).
-
Click the replay button
.
This time a dialog shows up telling us that an error occurred.
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).