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.
- 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, do the following:
- Point to the Planning icon (
), and click View
Test Plans.
- In the View Builder window, deselect My test
plans only, and click Run.
- From the list of test plans, click Classics
Java Test Plan in the name column.
- From the table of contents, click the Test Environments section.
The Platform Coverage tab is open by default.
- Click the Add platforms to be covered icon
(
) to display the Available
Environment Options dialog box, where you can select the
environments that you want to test.
- To select application servers:
- From the Environment Types list,
select Application Server.
- In the Available field, click Tomcat,
and then click the single arrow pointing to the right.
- To select browsers:
- From the Environment Types list,
select Browsers.
- 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.
- To select operating systems:
- From the Environment Types list,
select Operating System.
- 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.
- 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 displays.
- In the Environment section, select ALL in
the Application Server, Browsers,
and Operating System fields:
- 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 Tomcat, Internet
Explorer 7, 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 now includes the following combinations:

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