< Previous | Next >

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:

  1. 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.
    1. If ClassicsJavaB is not already running, click Start > Programs > IBM Rational Manual Tester > ClassicsJavaB. The ClassicsCD window opens. Position the window at the top of your screen.
    2. If IBM® Rational® Manual Tester is not already running, click Start > Programs > IBM Rational Manual Tester > IBM Rational Manual Tester.
  2. 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.
  3. 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 (Insert a step icon).
  4. 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.
  5. To save CreateTutorial.rmt in the Manual Tester menu, click File > Save, 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.
  6. To close CreateTutorial.rmt, click Close in the CreateTutorial.rmt tab in the Authoring Editor.
  7. 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.
< Previous | Next >