< Previous | Next >

Lesson 4.1: Add a manual test script to a test case

In lesson 3.1, you logged in as the test manager and created a new test case to cover a requirement. In this lesson, you log in as the tester to create a manual test script and add it to the test case. A manual test script is a series of test instructions, called statements, that guide a tester through a manual test.
To begin test script development:
  1. Log in as the tester (Userid: tony, Password: tony) when prompted with the login dialog box. Tony's dashboard opens.

    Notice that the work item that you created in the previous lesson is listed in the tester's My Tasks viewlet:

    My Tasks viewlet for the tester

  2. To open the work item, from the My Tasks viewlet, click Test Case is ready for manual test script. Click the Overview tab of the work item. You can see that the tester is instructed to create the test script:

    Work item for tester to add test script

  3. Return to the dashboard by clicking Back to Rational Quality Manager at the upper, left corner of the page.
  4. To open the test case, click New Customer Order Test Case in the Artifacts column of the My Tasks viewlet.
  5. To create a manual test script for testing the ordering function:
    1. Click the Test Scripts section.
      Important: You can use the installed manual test script sample to decrease the time it takes you to complete this lesson. Click the Add Existing Test Scripts icon (Add). From the list of test scripts, select New Customer Order Test Script (Sample), and click OK. Click the name to open it, and then skip to step 7.
    2. Click the Add New Test Scripts icon (Add new test script), type the name as New Customer Order Test Script and the description as Manual script to test ordering functionality of the Classics Java application.
    3. Select Tony, Tester as the owner, click OK, and then click Save.
    4. To open and begin editing the test script, click the test script name. The Manual Test editor opens.
    5. Click Click to add step, and type the following statements into the Description and Expected Results fields of the steps. Press Enter to advance to the next step.
      Step Description Expected Results
      1 Start the Classics Java A application. Classics CD window opens.
      2 Expand the Bach folder.  
      3 Click Violin Concertos.  
      4 Click the Place Order button. Member Login window opens.
      5 Make sure Existing Customer is selected.  
      6 In the Full Name field, type Trent Culpito.  
      7 In the Password field, type 1234567.  
      8 Click OK. Order is placed correctly.
      9 In the Card Number field of the Place an Order dialog box, type 5555 1212 5555 1212.  
      10 For the card type, select Visa.  
      11 In the Expiration Date field, type 10/12.  
      12 Click the Place Order button. Credit card information is processed and message window indicates that the order was received.
      13 Click OK to close the window. Window closes.

      The test script will look similar to the following image:

      Manual test script

      Note: In the this image, the statements use the default Execution Steps. Execution Steps are actions for the tester to perform when running the script. Notice that steps 8 and 12 have different icons. These are reporting steps. Reporting steps summarize the result of several steps.
  6. Change the statement types of steps 8 and 12 to reporting steps by clicking the statement, clicking the down arrow next to the Step icon (Step), and selecting Reporting Step Reporting step from the list.
  7. You can also add pictures inline for clarification when testing. To add pictures:
    1. Click the statement to add the image to.
    2. Click the Insert Image icon (Attach image) on the Action bar.
    3. When the dialog box opens, click Browse.
    4. Browse for the file, and click Open, and then OK. The image is added to the statement.
      Tip: You can choose the display format for the images. Click the Manage All Images (Manage all images) icon, and select Full size, ThumbNail, or Link.
    Note: Images are displayed in a manual test script when a test is running. You can also add attachments, comments, and verification text by clicking the appropriate icon in the Action bar.
  8. When you are finished with the script, click Save.
In the next lesson, you continue as the tester and add test data to the manual test script.
< Previous | Next >

Feedback