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.
- If you have not already done so, log in as the test lead
(Userid: carmen, Password: carmen).
- If you do not have the Classics Java™ Test Plan open, point to 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.
- From the table of contents, click the Test Environments section. The Platform Coverage page is open
by default.
- Click the Manage the platforms to be covered icon (
) to display the Available Environment Options dialog box, where you can
select the environments to test.
- To select application servers:
- From the Environment Types list,
select Application Server.
- In Available, click Tomcat, and then click the single arrow pointing to the
right.
- To select browsers:
- From the Environment Types list,
select Browsers.
- 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.
- To select operating systems:
- From the Environment Types list,
select Operating System.
- 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.
- When you have finished making all selections, click OK, and then save the test plan.
- Click the Test Environment tab to
list the actual environment combinations that are available for testing
on test lab machines.
- Click the Generate New Test Environments icon (
). The Generate
Test Environments wizard opens.
- In the Environment section, select ALL in each of these fields: Browsers, Application Server, and Operating
System.
- You can include and exclude specific combinations to test.
In this lesson, you exclude a combination:
- Click Advanced Properties.
- Click Exclusions tab, and then
click the Add Exclusion icon (
).
- From the lists, select Internet Explorer
7, Tomcat, and Linux.

- Click OK.
- 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.
- To make changes, click Previous;
otherwise, click Finish.
- Save the test plan.
The Test Environments section includes the following combinations:

In the next lesson, you continue as the test lead and use
these combinations to generate test execution records.