Lesson: Updating a manual test script
This lesson shows you how to update a script that contains statements
that were developed previously and reused.
Assume that you have just received word that the Classics Java™ application
has changed. A new field,
Region, has been added to
the Member Login dialog box. This affects all of the manual test scripts you
have written. Fortunately, you have saved the content of the login procedure,
so you have to make only one change to update all your scripts.
To update
and maintain a manual test script, perform the following tasks:
- Set up the testing application and Manual Tester:
Note: This
lesson requires the revised Classics Java application, ClassicsJavaB.
In order for the following tasks to work correctly, be sure that you start
or are running ClassicsJavaB.
- If ClassicsJavaB is not already running, click . The ClassicsCD window
opens. Position the window at the top of your screen.
- If IBM® Rational® Manual Tester is not already running, click .
- In the Reuse view, right-click the Log In As Existing Customer group
and then select Open Script. Manual
Tester opens the script that you originally developed and saved, CreateTutorial.rmt.
- In the Log In As Existing Customer group, place
the cursor at the end of the step, "In the Password field, type 1234567" and
then press Enter. Manual Tester creates a new line in the
script and inserts a step icon (
).
- In the new fourth line of the group, type the following text:
In the Region box, make sure North America is displayed.
but do
not press Enter.
- To save CreateTutorial.rmt in the Manual Tester
menu, click , and then click Yes to update the changed
file. Manual Tester displays a message indicating that the
change you just made will affect other files.
- To close CreateTutorial.rmt, click Close in
the CreateTutorial.rmt tab in the Authoring Editor.
- Click the Recent Files tab and double-click ReuseTutorial.rmt to
open the script that uses the saved content. Manual Tester
has automatically updated the script with the new step in the Log
In As Existing Customer group.