< 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 lesson 3.3, you 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, point to Planning (Planning), and click View Test Plans. From the list of test plans, click Classics Java Test Plan in the name column. The test plan opens in the test plan editor.
  3. From the table of contents, click the Test Environments section. The Platform Coverage page is open by default.
  4. Click the Manage the platforms to be covered icon (Edit) to display the Available Environment Options dialog box, where you can select the environments to test.
  5. To select application servers:
    1. From the Environment Types list, select Application Server.
    2. In Available, 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 Available, click Firefox 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 Available, 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 opens.
  11. In the Environment section, select ALL in each of these fields: Browsers, Application Server, and Operating System.

    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 Internet Explorer 7, Tomcat, and Linux.

      Advanced Properties view of Generate Test Environments 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 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