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:
- 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 created in the previous lesson
is now listed in the tester's My Tasks viewlet:
- 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:

- Return to the dashboard by clicking Back to
Home at the upper, left corner of the page.
- To open the test case, click New Customer Order
Test Case in the Artifacts column of the My
Tasks viewlet.
- To create a new manual test script for testing the ordering
function:
- 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 (

). In the
View
Builder window, deselect
My test scripts only,
and click
Run. 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 steps b through e.
- Click the Add New Test Scripts icon
(
), type the name as New
Customer Order Test Script and the description as Manual
script to test ordering functionality of the Classics Java application.
- Select Tony, Tester as the owner,
click OK, and then click Save.
- To open and begin editing the test script, click the
test script name. The Manual Test editor opens.
- Click Click to add and type the
following statements. Press Enter to advance to the next step.
- Start the Classics Java A application.
- Did the Classics CD window open?
- Expand the Bach folder.
- Click Violin Concertos.
- Click the Place Order button.
- Did the Member Login dialog box open?
- Make sure Existing Customer is selected.
- In the Full Name field, type Trent Culpito.
- In the Password field, type 1234567.
- Click OK.
- Was the order placed correctly?
- In the Card Number field of the Place an Order dialog
box, type 5555 1212 5555 1212.
- For the card type, select Visa.
- In the Expiration Date field, type 10/09.
- Click the Place Order button.
- Was the credit card information processed?
- Did the Message dialog indicate that your order
had been received?
- Click OK to close the message box.
The test script will look similar to the following image:
Note: In the above image, most of the
statements are Execution Steps. Execution Steps are actions that you
want the tester to perform when running the script. Notice that steps
2, 6 11, 16, and 17 have different icons. These are verification points.
Verification points ask questions about the application that you are
testing. Steps 11 and 16 are reporting points. Reporting points are
higher-level verification points and might summarize the result of
several verification points.
- Change the statement types:
- Change the statement types of steps 2, 6, and 17 to
verification points by clicking the statement, clicking the down arrow
next to the Step icon (
), and selecting Verification
Point
from the list.
- Change the statement types of steps 11 and 16 to reporting
points by clicking the statement, clicking the down arrow next to
the Step icon (
), and selecting Reporting
Point
from the list.
- You can also add pictures inline for clarification when
testing. To add pictures:
- Click the statement to add the image to.
- Click the Insert Image icon (
) on the editor toolbar.
- When the dialog box opens, click Browse.
- Browse for the file, and click Open.
The image is added to the statement.
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 toolbar.
- 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.