TCMS uses environment variables to define the test hardware setup. The Environment Group is the top level container object, it contains one or more Properties, each having a range of values. Properties can belong to more than one group.
Group | Property | Value |
---|---|---|
Desktops | Architecture | i386, x86_64, PPC |
Memory (MB) | 512, 1024, 2048, 4096 |
A group is the container object in an environment. It allows a Test Plan to be targeted to a specific set of hardware and hence provides greater repeatability in testing.
Environment groups can be searched for by name.
To search an environment group:
From the ENVIRONMENT tab, click Groups.
Enter the search parameters, and then click Search Environment Group.
Adding a group uses the Edit Group screen.
- Click ENVIRONMENT.
Click Add New Group.
Enter Group Name.
In the Edit Environment Group screen, perform the following actions:
- Select Enabled.
- In the Available Properties box, select the property to add, and then click Add. Repeat this process to add more properties.
- Click Save.
Note
To edit existing, or create new properties, click Edit Properties.
An environment group can only be edited by authenticated users.
To edit an environment group:
- Click ENVIRONMENT.
From the Actions column, click Edit.
- Edit the fields as required:
- Environment Group Name
- Enabled checkbox
- Properties list
- Click Save.
Groups can not be deleted. A group that is no longer required must be disabled.
To disable a group:
- From the ENVIRONMENT menu, click Groups.
From the Group list, click Disable.
The group name will change to a strike through font.
To re-activate a group, click Enable.
Environment properties and their associated values can be used in multiple environment groups. When creating values ensure that they are discrete measurable properties. For example, screen resolution should be '1920x1200' rather than '24 inch widescreen'.
The Environment Properties screen provides the ability to edit, create, enable, and disable properties.
To access the Properties Management screen, from the ENVIRONMENT tab, click Properties.
To display a property's values, click on the property.
Note
Due to auditing requirements, environment properties and values cannot be deleted. To disable unused properties and values, click Disable.
To add an environment property:
- From the ENVIRONMENT tab, click Properties.
Click Add.
- Enter the New Property Name ensuring that the property name is descriptive, and then click Ok.
- Select the new property. The row containing the property will become orange.
In the Values text box, enter the property value. Click Add Value.
The new value is now displayed.
To edit an environment property:
- From the ENVIRONMENT tab, click Properties.
- Renaming:
- Click Rename.
- Enter the New Property Name, and then click Ok.
- Edit values:
- In the row containing the value, click Rename.
- Enter the new Value, and then click Ok.