Adding new test cases to test suites
You can create a test case in the existing test suite. A test suite is a collection of test cases that you group for test execution purposes.
Procedure
- Open an existing test suite or create a test suite.
- From the test suite table of contents, click Test Cases.
- Click the Add New Test Case icon () to open the New Test Case window.
- Type a name for the new test case.
- Type a description of the test case.
-
Assign a numerical value for the relative weight of the test case.
How you assign the weight value can be determined that uses different criteria, such as importance to test effort or the relative complexity of the test case. For example, a test case that is assigned a weight of 100, might be twice as important or complex as a test case that has an assigned weight of 50. The weight should not be used as a measurement of time. If you are intending to measure the time that is assumed to be required for the test case, then use the Estimate field. When a test case is executed as part of the test suite, the weight (points) is calculated based on the success of the steps included in the test script. The points for a result can be adjusted to more accurately record the true outcome. Weight is used later on in one of the status bars that show execution progress in the test plan.
- Select a test case template.
-
In Category, Function, and
Iteration, select attributes.
You can use these attributes to organize your test cases into various groups that can later be sorted. Your team is free to define these attributes any way that makes sense.
-
Click OK.
The new test case is added to the test suite. Repeat these steps to create and add multiple test cases.
-
The order of the test cases is important if you want to run the suite in sequential mode. To
change the order of the test cases in the list:
- Select a test case to move in the list.
- Click the Move Up () or Move Down () icons to move the test case.
-
Optional: Click the Change icon () in the Execution Owner column to
assign owners for test cases in the test suite.
This is the owner of running the test case in the context of the test suite. When you run a test suite that has owners that are assigned to test cases, the test suite execution page shows the owner for each test case in the suite. Testers can filter on the owner field to see the test cases in the test suite that they should run.Note: When any Test case is added to a Test Suite, the execution owner is set the same as the owner of the test case.
- Save the changes to the test suite.