background image
<< Working with Test Scripts | Playback a script that completes a sale >>
Prepare to use Robot
<< Working with Test Scripts | Playback a script that completes a sale >>
What Is Functional Testing?
For example, you might create a test script for each of the following:
Logging onto the system
Selecting an item to purchase
Completing a purchase
Logging off the system
You can then run each test script individually, or run all scripts at once, in succession,
by combining them into a suite.
Getting to a Starting Point
Recall that in Chapter 6, Test Planning, you created the Display Estimated Ship Date test
case for your enhancement requirement. In this chapter, you reuse a test script that
was recorded to get the application to an appropriate starting place
for recording a new test script for your test case.
Exercise: Prepare to use Robot.
Start Robot from TestManager by clicking Tools > Rational Test > Rational Robot.
In Robot, click Tools > GUI Playback Options.
On the GUI Playback Options dialog box, on the Log tab, make sure that the
following options are selected:
Output playback results to log
View log after playback
Specify log information at playback
Click OK.
Quit Robot by choosing File > Exit.
Working with Test Scripts
You can record and playback a test script for this tutorial only if Microsoft Internet
Explorer is installed on your computer. (It does not need to be the default browser.) If
Microsoft Internet Explorer is not installed on your computer, continue reading this
chapter and resume performing the exercises starting with Playing Back the Script on a
New Build
on page 130.