Adding existing test cases to test suites

You can add existing test cases to a test suite.

Procedure

  1. Open an existing test suite or create one.
  2. From the test suite table of contents, click Test Cases.
  3. Click the Add Test Cases icon (Add).
  4. In the Add Test Cases window, select the test cases to add to the test suite. Use the column-filtering capabilities to locate specific test cases. For example, you might want to list only those test cases that are included in a particular test plan.
    Note: To ensure continuity and accuracy between test artifacts and reports, if you include the test suite in a test plan, you must add test cases that belong to the same plan. If you do not include the test cases in the test plan, the test case result is still associated with the test plan that you select during test suite execution.

    If you have many test cases, you can use the Type Filter Text field to further refine the list.

  5. Click OK.
  6. Optional: You can select existing test cases from a browse list in one browser instance and drag them into the Test Cases section of a test suite in another browser instance.
    Note: You can use the drag-and-drop feature for test artifacts in the same project area or configuration.
  7. If test scripts are associated with test cases, you can change the test scripts by selecting the test cases and clicking the Edit icon (Edit) in the Test Scriptcolumn.
  8. Optional: To associate a single automation script with test suite, select Run a test script. Click the plus sign icon (Add), which opens the Select a test script window, and then select the test script. When you run the test script, it creates a result for all the test cases that are tested by the associated test script.
    Note: When you add the test cases to the test suite, the names of the associated test cases must match the names of the Selenium JUnit functions. Test scripts are not associated with test cases. Instead, a single test script is associated with the test suite and the test cases are added to the test suite.
  9. Optional: To set the test environment for your test cases, select the test cases and click the Change icon (Bulk change) in the Test Environment column. This step is necessary only if you want to override the test environment that is specified at the test suite execution record level.
  10. 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, complete these steps:
    1. Select a test case to move.
    2. Click Move Up (Move test case up) or Move Down (Move test case down) in the action menu.
  11. Optional: To assign owners to test cases in the test suite, click the Change Execution Owner icon (Bulk change) in the Execution Owner column . The owner executes the test case in the context of the test suite. When you run a test suite, which 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 can execute.
  12. Save the changes to the test suite.

Results

The test cases are added to the test suite.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki