In the previous lesson, you logged in as the test manager
and rejected the test plan because the plan did not meet its quality
objectives. In this lesson, you log in as the test lead and create
a new test case to cover the requirement. A test case describes a
scenario of something that you are going to test.
To begin the coverage process:
- Log in as the test lead (Userid: carmen, Password: carmen) when prompted with the login dialog box. Carmen's dashboard opens.
Notice that the work item that you created in the previous
lesson is listed in the Carmen's My Tasks viewlet:
- To open the work item, from the My Tasks viewlet, click Ensure that all requirements are covered
by test cases. Click the Overview tab to display the work item details:

The work
item informs Carmen to cover all requirements with test cases.
- Return to the Carmen's dashboard by clicking Back to Rational Quality Manager at the upper, left corner
of the page.
- To open the test plan, click Classics Java Test
Plan in the Artifact column of the My Tasks viewlet.
- To create a test case to cover the new requirement:
- Click the Test Cases section.
- Click the Add New Test Case icon
(
). Important: You can use the installed test case sample to decrease
the time it takes you to complete this lesson. Click the
Add Existing Test Cases icon (

). From the list of test
plans, select
New Customer Order Test Case (Sample), and click
OK. Skip to step h.
- In Name, type New
Customer Order Test Case.
- In Description, type Test the ordering functionality of the Classics Java application.
- Type 20 as the weight.
- Choose the category (Web UI),
function (Execution), test phase (Developer Test), and theme (Functionality) from the lists.
Note: You can use the category, function,
test phase, and theme attributes to organize your test cases into
various groups that can later be sorted. Your team can define these
attributes any way that makes sense. You can use the weight as a means
of tracking the relative difficulty or importance of the test case.
A test case that requires twice as much time to execute might have
double the weight of another test case, which will factor into reports
that measure your progress.
- Click OK.
- Save the test plan.
You have a test case that addresses the new requirement:
- The next step is to associate the new test case with the
new requirement:
- Click New Customer Order Test Case to open the test case.
- Click the Requirements section.
- Click the Add Requirement(s) icon
(
), select the requirement, New Customer Order Requirement, and click OK.
- Save the test plan.
The test case, New Customer Order Test Case, is now associated with the requirement, New Customer
Order Requirement.
- Now assign the test-script creation task to the tester:
- Click the Test Scripts section.
- In the upper, right corner of the Test Scripts section, click Create.
- In Summary, replace the default
text with Test case is ready for a manual test script.
- In Owned By, select Tony, Tester.
- Click the Calendar icon (
) next to the Due field, and select a future date.
- Click OK.
- Click Save to save the changes to
the test case.
In the next lesson, you continue as the test lead and plan
the test environment.