5.2.  Test Environments

5.2.1. Maintaining Test Environments
5.2.1.1. Creating a Test Environment
5.2.1.2. Editing the user defined properties of a Test Environment
5.2.1.3. Searching and Sorting Test Environments

The Test Environments section allows to manage the different test environments of the project. Test Environments represent the extrinsic setting that may influence the test result. Examples for parts of an test environment would be the operation system or an application server.

5.2.1.  Maintaining Test Environments

The Maintain Test Environments page allows to create, remove, update and search test environments ( Figure 5.6 ). All these actions can be done directly by editing the table or on the details page.

Figure 5.6. The Maintain Test Environments Screen

The Maintain Test Environments Screen


The Maintain Test Environments screen shows a table with all the test environments defined for the current project. Each row of the table represents a test environment, each column the attributes of the test environment. By clicking into the table fields, the attributes can be edited directly.

Press the Save button to submit the changes that have been made or the Cancel button to discard.

By clicking on the Delete icon the test environment will be removed from Klaros-Testmanagement database.

[Note] Why is the Delete button sometimes disabled?

Test Environments that are referenced by test runs cannot be deleted, so their Delete icon is disabled.

By clicking on the Edit icon the details page of the test environment will be displayed.

5.2.1.1. Creating a Test Environment

By clicking on the New button the user is able to create a new test environment ( Figure 5.6 ). Now an empty row is added at the beginning of the table. The operating system and three other custom fields can be specified here. The test environment ID is automatically assigned by Klaros-Testmanagement. The project is the current selected project. Press the Save button to confirm the creation or the Cancel button to discard the changes.

5.2.1.2. Editing the user defined properties of a Test Environment

[Important]Klaros-Testmanagement Enterprise Edition Feature

This feature is only available in the Klaros-Testmanagement Enterprise Edition.

If there user defined properties for test environments configured, they can be edited on this tab. Figure 5.7 )

[Note]Note

The tab is disabled if no user defined properties for test environments exist. How to maintain the user defined properties is decribed in section Section 5.1.2.8, “Editing the user defined properties of a project” .

Figure 5.7. The Maintain Test Environments Screen

The Maintain Test Environments Screen


5.2.1.3. Searching and Sorting Test Environments

It is possible to search for test environments and sort the results of the search with the filtering and sorting options. The filtering and sorting options become visible by opening the Filter / Sort panel. The Filter / Sort panel contains two tables. The left table contains the filtering parameters, the right table contains the sorting parameters.

Below the two tables you find two buttons:

Apply

The Apply button applies the filter and sorting criteria specified in the two tables above and presents the filtered and sorted result in the table below.

Reset

The Reset button clears the tables with the filter and sorting criteria and displays all test environments.

5.2.1.3.1. Specifying Search Criteria for Test Environments

Each line in the filter table represents a criterion that restricts the result set that is displayed in the table below, i.e. the set of all test environments is filtered for the conjunction of all criteria listed in the filtering table.

By clicking the button, a new and empty row for a filter criterion is appended to the table. The table with the filtering criteria has four columns:

  • The Field column denotes the field in the table that the criterion is filtering for. In the Filter / Sort panel of the maintain environments page the following fields can be filtered: ID and Description .

  • The Type column denotes the operator that is used for the criterion. In the maintain test environment page the following operators are available:

    Equals

    Only the items that exactly match the value of the criterion are shown.

    Not equals

    The items that do not equal the value of the criterion are shown in the result table.

    Greater than or equals

    Items that are greater than or equal the value of the criterion are shown.

    Less than or equals

    Items that are less than or equal the value of the criterion are shown.

    Greater than

    Items that are greater than the value of the criterion are shown.

    Less than

    Items that are less than the value of the criterion are shown.

    Like

    Items that have a part that matches value of the criterion are shown.

  • The Value column defines the value for the filtering criterion.

  • The Action column contains a button ( ) for deleting the criterion in the current line.

5.2.1.3.2. Specifying Sorting Criteria for Test Environments

The table that contains the list of test environments can be sorted. The criteria for the sorting are specified in the right table in the Filter / Sort panel. It is possible to specify more than one sorting option. If there are more than one sorting options the uppermost sorting criterion has the highest priority, lowest row in the sorting criterion table has the lowest priority.

When the button is clicked, a new empty row for a sorting criterion is appended at the bottom of the sorting options table. Each row in the sorting options table has in the Action column a Delete button ( ). By pressing this button the row with the sorting criterion can be removed.

The sorting options table contains three columns:

  • The Order By column denotes the field in the results table that the sorting applies to. The fields that can be sorted for in the maintain test environments screen are ID, Operating System, Custom 1, Custom 2 and Custom 3.

  • The Type column defines the direction of the sorting sequence, i.e. descending or ascending.

  • The Action column contains a button for deleting the sorting criterion.