< Previous | Next >

Lesson 3.2: Specify the test environment

Use the Test Environments section of the test plan to specify the test environments that must be supported and the resources that are available. You can use this information to determine the environments to be tested for each test case.
In the lesson 3.3, you will log in as the tester and generate test execution records for the test case, New Customer Order Test Case. Test execution records specify the hardware and software environments for execution. Before you generate the test execution records, list the environments to be tested in the Test Environment section to ensure that they are tested. In this lesson, you continue as the test lead and define the environments.
  1. If you have not already done so, log in as the test lead (Userid: carmen, Password: carmen).
  2. If you do not have the Classics Java™ Test Plan open, do the following:
    1. Point to the Planning icon (Planning), and click View Test Plans.
    2. In the View Builder window, deselect My test plans only, and click Run.
    3. From the list of test plans, click Classics Java Test Plan in the name column.
  3. From the table of contents, click the Test Environments section. The Platform Coverage tab is open by default.
  4. Click the Add platforms to be covered icon (Edit) to display the Available Environment Options dialog box, where you can select the environments that you want to test.
  5. To select application servers:
    1. From the Environment Types list, select Application Server.
    2. In the Available field, click Tomcat, and then click the single arrow pointing to the right.
  6. To select browsers:
    1. From the Environment Types list, select Browsers.
    2. In the Available field, click Firefox 2.0 and Internet Explorer 7, and then click the single arrow pointing to the right.
      Note: To make multiple selections, use Ctrl+Click.
  7. To select operating systems:
    1. From the Environment Types list, select Operating System.
    2. In the Available field, click Linux and Windows XP, and then click the single arrow pointing to the right.
    Note: You can also add attributes for CPU, Database, Management Agent, and Test Adapter.
  8. When you have finished making all selections, click OK, and then save the test plan.
  9. Click the Test Environment tab to list the actual environment combinations that are available for testing on test lab machines.
  10. Click the Generate New Test Environments icon (Machine configuration). The Generate Test Environments wizard displays.
  11. In the Environment section, select ALL in the Application Server, Browsers, and Operating System fields:

    Generate Test Environments

  12. You can include and exclude specific combinations to test. In this lesson, you exclude a combination:
    1. Click Advanced Properties.
    2. Click Exclusions tab, and then click the Add Exclusion icon (Add).
    3. From the lists, select Tomcat, Internet Explorer 7, and Linux.

      Advanced Properties view of Execution Work Item wizard

    4. Click OK.
  13. Click Next, and review the test environments. Two configurations are listed, based on the combinations that you selected in the previous screen.
    Note: If you had not excluded the combination of Tomcat, Internet Explorer 7, and Linux®, it would be listed as the third combination.
  14. To make changes, click Previous; otherwise, click Finish.
  15. Save the test plan.
The Test Environments section now includes the following combinations:

Environments section with selected environments

In the next lesson, you continue as the test lead and use these combinations to generate test execution records.
< Previous | Next >

Feedback