You can customize the values of test environment types
so that they are associated with any lab resource types. When you
create a test environment type, you can associate it with a lab resource
type. Then, wherever the field of the lab resource type is displayed,
the environment type is also displayed as a value that you can select.
About this task
For example, if you created an environment type and associated
it with the Operating System type, the new environment type and its
values would be displayed wherever the operating system is displayed.
Procedure
- Log in as a user who has permission to save and modify
a project area. These users have that permission:
- A user who has permission to save and modify a project area
in the process configuration
- A user who is an administrator of the project area
- A user who has either the JazzProjectAdmins or JazzAdmins
repository group permissions
- In the upper-right portion of the banner, click the Admin menu
and click Manage
Project Properties.
- Click Lab Resource and Channel Properties.
In the Types pane, click the Add New Type (
) icon.
- In the window that opens, type a name for the new lab resource
type, and make sure that the Set as a test environment
type check box is selected. When that check
box is selected, the new type is available when you are defining platform
coverage and creating test environments. Click OK. The new lab resource type is displayed in the list of
types.
- Define at least one value for the type:
- Select the new lab resource type. A new column is displayed
to the right of the type.
- Click the Add New Type icon.
A default value is displayed. The value has the same name as the type,
with 1 appended to it.
- Click the value name and type a descriptive name.
- If needed, create one or more other values. When you
are finished, click Save.
- Log out, and then log in again.
- Return to the Manage Project Properties page,
and then click Test Plan's Environment Types.
- In the list of types, click the type that you created,
and then click the Set Type icon
.
- In the Set Type Identifier window,
rename the type if needed, and then click OK.
Click Save.
- Log out and log back in again. The test environment
type that you created is displayed in these places:
- Wherever the type that you associated it with is displayed
- Test environment sections in test plans and test cases
- The wizard for creating test case execution records in test cases
- The wizard for creating test suite execution records in test suites
- The Create Test Environments lab management editor
Remember: When you create
a lab resource type, if you do not set it as a test environment type,
you can later. The test environment type's definition is based on
the machine type's attributes. A new attribute must be added to the
machine type to reference the new type.
- Click , and then click Lab
Resource and Channel Properties.
- In the list of types, hover over the lab resource type that you
want to associate the new type with, and from the menu that is displayed,
click Edit type attributes.
- Click the Add icon. In the new row, enter
an attribute name. For the data type, select Type.
The Value column shows the type that you are configuring. Click OK,
and then save and reload the page.
- Verify that you defined at least one value for the new type. If
you do not define a value, the type is not displayed when you are
defining platform coverage and creating test environments.
- On the Manage Project Properties page, select Test
Plan Environment Types.
- In the list of types, click the new type, and then click the Set
type icon. The type is established as a test plan environment
type. Click OK, and save and reload the page.
The type is now available as an environment type in test plans and
when you generate test case execution records.
What to do next
If you need to
remove a test environment type, open the Test Plan Environment Types
section. Hover over the type name, and from the menu that is displayed,
click
Remove Type. If you need to restore a
removed test environment type, use the same menu that you used to
remove the type, and click
Set Type.