background image
<< Chapter 9 Playing Back GUI Scripts | Restoring the Test Environment Before Playback >>
<< Chapter 9 Playing Back GUI Scripts | Restoring the Test Environment Before Playback >>
Test Development Phase
Playing Back GUI Scripts
9-2
Test Development Phase
During the test development phase, you play back scripts to verify that they work as
intended, using the same version of the application-under-test that you used to
record. This validates the baseline of expected behavior for the application.
The following table shows the general process for the test development phase.
Regression Testing Phase
During the regression testing phase, you play back scripts to compare the latest
build of the application-under-test to the baseline established during the test
development phase. Regression testing reveals any differences that may have been
introduced into the application since the last build. You can evaluate these
differences to determine whether they are actual defects or deliberate changes.
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-3
2. Play back each script against the same version of the
application-under-test that was used for recording to
verify that it performs as intended.
Playing Back a GUI Script on page
9-18
3. Analyze the results using the TestManager log.
Viewing Results in the TestManager
Log
on page 9-20
and the
TestManager Help.
4. Use the appropriate Comparator to determine the
cause of verification point failures.
Analyzing Verification Point Results
with the Comparators
on page 9-21
and the Comparators Help.
5. If the script fails, edit, debug, or rerecord the script
so that it runs as required.
Chapter 5, Editing, Compiling, and
Debugging Scripts
6. Group individual scripts into a comprehensive shell
script. Play back the shell script to verify that the
scripts work properly. If necessary, edit, debug, or
re-record the scripts.
Creating Shell Scripts to Play Back
Scripts in Sequence
on page 2-25