6.2.  Test Environments

6.2.1. Maintaining Test Environments
6.2.1.1. Creating a Test Environment
6.2.1.2. Editing the user-defined properties of a Test Environment
6.2.1.3. Searching and Sorting Test Environments
6.2.1.4. Categorization of Test Environments

The Test Environments section allows management of the different test environments of the selected project. Test Environments represent the extrinsic settings that may influence the test result. Examples for parts of a test environment are the operation system or an application server.

6.2.1.  Maintaining Test Environments

The Maintain Test Environments section allows the creation, removal and updating of test environments, searching through all of the test environments in the selected project and the assigning of test environments to categories ( Figure 6.6 ). All of this can be done through the tabular view or on the details page.

Figure 6.6. The Maintain Test Environments Screen

The Maintain Test Environments Screen


The Maintain Test Environments screen shows a table with all of the test environments defined for the current project. Each row of the table represents a test environment, the columns represent attributes of the test environment. Clicking on the table fields allows direct editing of the attributes.

The selection column allows test environments to be selected and group actions to be carried out. The checkbox in the title bar of the table is a global select button, which allows bulk actions to be carried out for all test environments that match the current search criteria and, if categorization is enabled, are in the currently selected category.

The bulk actions available on the Maintain Environments screen are: Delete and Assign to category (Klaros-Testmanagement Enterprise Edition only). The bulk action buttons can be found above the table on the left.

Pressing the Save button submits the changes that have been made and pressing the Cancel button discards them.

Clicking on the Delete icon removes the test environment from the 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.

Clicking on the Edit icon displays the details page of the test environment.

6.2.1.1. Creating a Test Environment

Clicking on the New button allows the user to create a new test environment ( Figure 6.6 ). An empty row is added at the beginning of the table. The description field can be specified here. The test environment ID is automatically assigned by Klaros-Testmanagement. The test environment is added to the current selected project. Pressing the Save button confirms creation of the test environment and pressing the Cancel button discards the changes.

6.2.1.2. Editing the user-defined properties of a Test Environment

If there are user defined properties for test environments configured, they can be edited in this tab. Figure 6.7 )

[Note]Note

This tab is disabled if no user defined properties for test environments exist. The maintenance of user defined properties is described in Section 6.1.1.8, “Editing the user-defined properties of a project” .

Figure 6.7. The Test Environments User-Defined Properties Screen

The Test Environments User-Defined Properties Screen


6.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 table on the left contains the filtering parameters, while the table on the right contains the sorting parameters.

Below the two tables are 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 projects.

6.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. The fields which can be filtered in the Filter / Sort panel of the maintain test environment page are ID and Description , as well as any user-defined properties. The process of maintaining the user-defined properties is described in section Section 6.1.1.8, “Editing the user-defined properties of a project” . User-defined properties are only available in Klaros-Testmanagement Enterprise Edition.

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

    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.

6.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 is more than one sorting option, the uppermost row in the sorting criterion table has the highest priority and the lowest row 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 on the maintain test environment page are ID and Description , as well as any user-defined properties. The process of maintaining the user-defined properties is described in section Section 6.1.1.8, “Editing the user-defined properties of a project” . User-defined properties are only available in Klaros-Testmanagement Enterprise Edition.

  • 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.

6.2.1.4.  Categorization of Test Environments

[Important]Klaros-Testmanagement Enterprise Edition Feature

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

The categorization panel contains some artifacts which help to group test environments together, the Category Group and the Category . Test environments may be assigned to one category in each category group. There is no limit on the amount of categories or category groups which may be created.

Using Categorization, it is possible to group test environments in user-defined categories. In order to activate categorization, the Categories panel must be opened. The Categories panel contains 3 different views, the Edit view, the Tree view and the Menu view. If no categories have been defined, only the edit view may be used. Each view allows selection of the active category group through the use of a dropdown menu, or selection of the blank category group to disable categorization.

6.2.1.4.1.  The Edit View

This view allows the creation and naming of category groups and categories, as well as the organization of category heirarchies. Pressing the button at the top of this view creates a new category group, and enables the use of the category group dropdown menu. If a category group is selected, it may be renamed in this view. Categories may also be added as sub-categories of the group's root category, renamed, given a description and be nested in a hierarchical manner.

6.2.1.4.2.  The Tree View

This view shows an overview of the category structure for test environments . The available categories are represented as a collapsible tree, with the name of each category is shown, along with the number of test environments it contains. The description of each category is shown as a tooltip when its name is hovered over with the mouse pointer.

6.2.1.4.3.  The Menu View

This view allows more compact use of the category panel. It contains a drop-down menu which enables the user to choose any of the available categories, through a submenu system.