background image
<< Regression Testing Phase | Setting GUI Playback Options >>
<< Regression Testing Phase | Setting GUI Playback Options >>

Restoring the Test Environment

Restoring the Test Environment Before Playback
9-3
The following table shows the general process for the regression testing phase.
Restoring the Test Environment Before Playback
The state of the Windows environment as well as your application-under-test can
affect script playback. If there are differences between the recorded environment
and the playback environment, playback problems can occur.
Before playing back a script, be sure that your application-under-test is in the same
state it was in when you recorded the script. Any applications and windows that
were open, active, or displayed when you started recording the script should be
open, active, or displayed when you start playback. In addition, be sure that any
relevant network settings, active databases, and system memory are in the same state
as when the script was recorded.
Task
See
1. Prepare for playback by restoring the test
environment and setting the playback options.
Restoring the Test Environment Before
Playback
on page 9-3.
Setting GUI Playback Options on page
9-4.
2. Play back each script against a new build of the
application-under-test.
Playing Back a GUI Script on page
9-19.
3. Analyze the results using the TestManager log. Viewing Results in the TestManager Log
on page 9-21 and the TestManager
Help.
4. Use the appropriate Comparator to determine
the cause of verification point failures. If failed
verification points are the result of intentional
changes to the application-under-test, update the
baseline data using the appropriate Comparator.
Analyzing Verification Point Results with
the Comparators
on page 9-22
and the
Comparators Help.
5. Use the log to enter defects.
The TestManager Help.
6. If necessary, revise the scripts to bring them
up-to-date with new features in the
application-under-test. Play back the revised
scripts against the current build and then
reevaluate the results.
Chapter 5, Editing, Compiling, and
Debugging Scripts
.