Title: Mercury Interactive Product Training
1Recovery Scenarios
USINGQTP65-STUDENT-01A
2Lesson Objectives
- In this lesson, you will learn
- How to handle and recover from exceptions in
QuickTest Professional - How to differentiate between an exception and an
optional step in the business process
3About Handling Unexpected Events and Errors
- Unexpected events and errors during a test run
can disrupt testing - Unattended tests require an action to recover
- QuickTest Professional's Recovery Scenario
Manager can - Detect and handle the appearance of a specific
error dialog - Recover from an error and continue to run the
test - Guide you through creating a recovery scenario
using the Recovery Scenario Wizard
4Components of a Recovery Scenario
The event that interrupts your test run (e.g. a
pop up screen or run error).
The operation(s) that need to be performed in
order to continue running the test.
The instructions on how QuickTest should proceed
once the recovery operations have been performed
5Manage Recovery Scenarios
Recovery file (.qrs) that contains list of
recovery scenarios
Section that lists all recovery scenarios
contained in the recovery file
Description of the selected scenario
6Recover a Scenario or Use Optional Step?
When
to select optional step instead of recovery
scenario?
Use an Optional Step when you have verified that
a step is a temporary deviation from the business
process flow and returns to complete the
transaction without error.