When you play back a script, Rational Robot repeats your recorded actions and
automates the software testing process.
With automation, you can test each new
build of your application faster and more thoroughly than by testing it manually.
This decreases testing time and increases both coverage and overall consistency.
There are two general phases of script playback:
1. Test development phase
2. Regression testing phase
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 points shows the general process for the test development phase.
1. Prepare for playback by restoring the test
environment and setting the playback options.
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.
3. Analyze the results using the TestManager log.
4. Use the appropriate Comparator to determine the
cause of verification point failures.
5. If the script fails, edit, debug, or rerecord the script
so that it runs as required.
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.