Creating test environment values associated with any lab resource type

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

  1. 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
  2. In the upper-right portion of the banner, click the Administration menu Administration and click Manage Project Properties.
  3. Click Lab Resource and Channel Properties. In the Types pane, click the Add New Type (Add) icon.
  4. 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.
  5. Define at least one value for the type:
    1. Select the new lab resource type. A new column is displayed to the right of the type.
    2. 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.
    3. Click the value name and type a descriptive name.
    4. If needed, create one or more other values. When you are finished, click Save.
  6. Log out, and then log in again.
  7. Return to the Manage Project Properties page, and then click Test Plan's Environment Types.
  8. In the list of types, click the type that you created, and then click the Set Type icon Set type.
  9. In the Set Type Identifier window, rename the type if needed, and then click OK. Click Save.
  10. 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.
    1. Click Admin > Manage Project Properties, and then click Lab Resource and Channel Properties.
    2. 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.
    3. 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.
    4. 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.
    5. On the Manage Project Properties page, select Test Plan Environment Types.
    6. 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.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki