In the previous lessons of this module, you logged in as
the tester and created a manual test script for the New Customer Order
Test Case. In this lesson, you run a test execution record and step
through the manual test script.
- If you have not already done so, log in as the tester (Userid: tony, Password: tony).
- If you do not have the Classics Java™ Test Plan open, point to Planning (
), and click View
Test Plans. From the list of test plans, click Classics Java Test Plan in the name column.
- From the Test Cases section, click the New Customer
Order Test Case test case, and then click the Test Execution Records section.
- Select the check box for the combination of Linux®, Firefox, and Tomcat.
- In the Test Script column, select New Customer
Order Test Script:
- Click the Run icon (
) The manual
test script that you created in previous lessons opens in the execution
page.
Note: When you run a manual test script, you move to a statement
and then switch to the application you are testing to perform the
action in that statement. In this tutorial, the application is not
available, so you can just practice stepping through the test script.
- In the Script Steps section of the execution window, click
the Pass icon (
) for the first step to
indicate that the Classics CD window opened correctly. The step is
marked with the Pass icon (
) and the pointer moves
to the next step.
- For steps 2 through 5, continue to click the Pass icon (
) for each step to indicate
that all steps are performed as expected. Note: If you
included a comment, you can scroll over the
Comment icon (

) to see the text, such as
in step 5 in the following image.
- Step 6 includes the keyword that you added in Lesson 4.3.
You perform each step in the keyword. Click the Pass icon (
) to pass the first two
steps in the keyword.
- Notice that the third step in the keyword, Click OK, is a reporting step. Because the previous
steps were successful, you can confirm that the order was placed correctly.
Click Pass (
) to indicate that this
step passed.
- Step 7 includes the test data variable that you added in
Lesson 4.2. The test script inserts the first data record for the CardNumber variable in the Classics
Java Test Data. Suppose step 7 fails because the user
entered the correct credit card number format, but the application
did not accept it. You can enter a defect directly in the manual test
script:
- Click the Add Defects icon (
). The defect form opens.
Some of the fields are already populated with information from the
test case. Note: To check for potential duplicate defects,
click the
Find Potential Duplicates (

) icon.
- Complete the form using the following information:
- Summary: Type Wrong credit card
format.
- Severity: Select Blocker.
- Tags: Type credit, card,
classics, java, ordering.
- Owned by: Select Amy.
- Priority: Select High.
- Due Date: Click the Calendar icon (
), and select a date in the
future.
- Description: Click Edit, and add Entered 16–digit card number in credit card
field. Format was not accepted.
- Click Save.
- In the Actual Results field for
step 7, type Received error message, Wrong credit card
format, when correct format was entered. Then, click the Fail icon (
).
- Click the Pass icon (
) for steps 8 and 9. Note: If you included verification text, you can scroll over
the
Assisted Data Entry/Verification icon (

) to see the text, such as
in step 9 in the following image.
- Step 10 is a reporting step. Because you could not complete
step 7, the reporting step fails. Click the Fail (
) icon to give the reporting
step a failed status.
- Finally, click the Pass icon (
) for step 11. The first 10 steps of the test run look like the following image:

Because you entered
test data in step 7, the test script will run through all of the data
records in the Classics_Java.csv file for the
CardNumber field. You can see which iteration is being tested at the right
of the page. You will run through the previous steps four times in
addition to this first run because the data file has five records.
Tip: If you want to assign the same verdict to the remainder
of the steps, click the
Apply All icon (

) to process these steps
quickly. Select the verdict in the
Apply all confirmation window, and click
OK.
- When you complete the steps, the test execution ends. Click Close and show results at the top of the page to view
the results:
The following image shows the first 10
steps of the Results Details section; however, all steps are included
in the Execution Result.

- Log out as tester.
You can view the results immediately or access them later.
In the last lesson of the next module, you log in as the
test manager and view these results.