Chapter 6. Define

Table of Contents

6.1. Projects
6.1.1. Creating a Project
6.1.2. Deleting a Project
6.1.3. Restoring a Project
6.1.4. Purging a Project
6.1.5. Editing the Description of a Project
6.1.6. Project Details
6.2. Iterations
6.2.1. Bulk Actions
6.2.2. Creating an Iteration
6.2.3. Iteration Details
6.3. Requirements
6.3.1. Remote Requirements Management System Synchronization
6.3.2. Bulk Actions
6.3.3. Creating a Requirement
6.3.4. Requirement Details
6.4. Test Environments
6.4.1. Bulk Actions
6.4.2. Creating a Test Environment
6.4.3. Test Environment Details
6.5. Systems under Test
6.5.1. Creating a System under Test
6.5.2. Bulk Actions
6.5.3. System under Test Details
6.6. Test Cases
6.6.1. Bulk Actions
6.6.2. Creating Test Cases
6.6.3. Test Case Details
6.7. Test Suites
6.7.1. Bulk Actions
6.7.2. Create Test Suites
6.7.3. Test Suite Details

This section describes the Define section of Klaros-Testmanagement. In this section, Projects, Iterations, Requirements, Test Environments, Systems under Test, Test Cases and Test Suites may be created and edited. There is a menu entry on the left-hand side for each of these artifact types.

6.1. Projects

The Projects section allows managing projects in Klaros-Testmanagement. Projects are collections of all test artifacts for a given product and the related results and jobs. Test artifacts are objects like test cases and test suites.

When accessing Klaros-Testmanagement for the first time it is necessary to create a project to work with. To create a new project select the menu entry Projects ( Figure 6.1) and follow Section 6.1.1, “Creating a Project”.

After at least one project has been created, users may select one from the table.

After a successful login the Projects screen is shown. It gives the user an overview of the projects stored in the Klaros-Testmanagement database. Projects may be created, removed and updated on this page ( Figure 6.1). The displayed projects may be filtered and sorted as described in Section 5.2.5, “Filtering and Sorting”.

The Projects Screen

Figure 6.1. The Projects Screen

In order to use the test management functions of Klaros-Testmanagement, the user is required to select a project. Projects are selected by clicking on the check box of the desired project in the leftmost or rightmost column.

[Note] Choosing a project with the project quick-select drop-down field

The header bar of Klaros-Testmanagement contains a drop-down field labeled Project. With this drop-down field the active project can be switched quickly on any Klaros-Testmanagement page. You will be directed to the top page of your current category (Define / Execute etc.).

If no projects have been created, the user must create one before proceeding. The process of creating a project is described in the next section.

After a project is selected, the disabled functions in the navigation bar are made available.

6.1.1. Creating a Project

New projects may be created by clicking the New button ( Figure 6.1). An empty row is added at the beginning of the table. The Project ID is automatically assigned by Klaros-Testmanagement, and the description can be specified.

6.1.2. Deleting a Project

When the Delete icon is clicked, the project will be locked and removed from the list of selectable projects.

[Note] Why is the Delete button sometimes disabled?

Projects that already contain some test results can no longer be deleted by users, so their delete icon is disabled ( ). Only an administrator can delete a locked project. Locked projects may be restored as long as they have not yet been purged from the database.

6.1.3. Restoring a Project

When the restore icon is clicked, a previously locked project is restored to the list of selectable projects. Only an administrator is able to restore a locked project.

6.1.4. Purging a Project

When the purge icon is clicked, a previously locked project is purged from the database. Only an administrator is able to purge a locked project. This operation cannot be undone.

6.1.5. Editing the Description of a Project

The project description can be used to give a short overview over the project. Clicking on the Description field allows the user to directly change the current value ( Figure 6.1).

6.1.6. Project Details

This section allows in-depth editing of an individual project, including adding/removing issue management systems and user-defined properties. The executed test results and the change history of this project are also visible in this section. Issue Management

The list of issue management systems that are in use in the project can be edited on the project details page, which may be reached by pressing the ( ) edit icon beside a project on the projects page ( Figure 6.1).

[Note] Creating issue management systems

Before issue management systems are available for assignment, they must be created by an administrator.

For instructions on the creation of issue management systems see Section 10.6.1, “Issue Management”.

The project properties page in the project details section ( Figure 6.2, “The Project Properties Page”) shows two tables: The upper table contains the issue management systems that are already in use in the project, the lower table shows all issue management systems that are configured in Klaros-Testmanagement and not in use by the project. Pressing the add icon adds the corresponding issue management system to the project. The issue management system is removed from the lower table and added to the upper table.

The Project Properties Page

Figure 6.2. The Project Properties Page

On this page it is also possible to edit the Description of the project. Requirements Management

See Section 10.6.2, “Requirements Management” for more information about how to connect remote requirements management systems to Klaros-Testmanagement. Connecting a Requirements Management System
The Project Details Requirements Management Page

Figure 6.3. The Project Details Requirements Management Page

A project can be connected to an requirements management system via the the Requirements Management tab on the project details page. This tab will show a dropdown list of all available requirements management systems applicable for this project.

[Important] Important

In order to connect a RMS with a project, the RMS has to be configured in the Configure section first (see Section 10.6.2, “Requirements Management”).

After pressing the Save button, an background synchronization will start that will retrieve all requirements from the configured RMS and stores them in Klaros-Testmanagement.

[Note] Note

Synchronizing requirements can take up a huge amount of time depending on the number of requirements on the remote side. Klaros-Testmanagement has a built-in scheduler that will synchronize all requirements of all connected requirements management systems for all enabled projects in Klaros-Testmanagement in specified intervals.

[Warning] Warning

When Switching to a remote RMS, if any local requirements have been created, they will become disabled and therefore invisible for all users and will not appear in any report anymore! Switching back to local requirements management will enable those requirements again, though.

Linking Types

After selecting a RMS from the dropdown list of all available requirements management systems, a list of types appears right below this dropdown box. As per default, all types are selected, which means that a background synchronization will synchronize all requirements of the linked RMS.

The synchronized types of the Requirements Management System

Figure 6.4. The synchronized types of the Requirements Management System

Linking Fields

Administrators and project managers can link individual fields between the remote requirements management system and Klaros-Testmanagement. When using Jira, as per default, the Description, Priority and Summary fields from the remote RMS (if they are available) are linked to the Description, Priority and Name fields in Klaros-Testmanagement. In addition to that, the Jira Status field is automatically mapped to a dedicated Status field that is only displayed if RMS synchronization is enabled.

There are three types of fields for both sides, String, Enum and Boolean.

[Note] Note

An enum-field in Klaros-Testmanagement can only be linked to an enum-field of the remote RMS, but an enum field of the RMS can be linked to a string or boolean field in Klaros-Testmanagement.

Linking Enum Values

When linking enum fields of both sides, it is necessary to indicate which enum values should be linked together. Otherwise, all values of the RMS will be mapped to the default enum value of the Klaros-Testmanagement field.

Pressing the of an enum linking opens up a popup where individual values can be linked.

Linking Enum Property Values

Figure 6.5. Linking Enum Property Values

[Note] Note

Multiple enum values of the remote RMS can be linked to the same enum value in Klaros-Testmanagement. Switching the connected Requirements Management System

The Requirements Management System of a project can be changed any time by a user with sufficient rights. As with switching from local to remote requirements management, all currently existing requirements for the project will be disabled as long as another RMS is used. User Defined Properties

User defined properties can be used to customize objects within Klaros-Testmanagement by adding custom fields. This process is described in Section 5.2.12, “User Defined Properties”. Copying Objects from another Project to the current Project

It is possible to copy objects from another project to the current one. This function can be accessed via the Copy Objects tab on the project details page (see Figure 6.2, “The Project Properties Page”). To copy objects, a project has to be selected from the Source Project drop down box first. This opens up several tabs with requirements, test environments, systems under test, test cases and test suites from the source project.

Copying Objects to the Current Project

Figure 6.6. Copying Objects to the Current Project

After selecting the desired objects, pressing the Copy button opens up a popup with a summary of all objects that are going to be copied to the current project. Pressing the yes button closes the popup and starts the copy operation (see Figure 6.7, “Copying Objects from another Project”).

Copying Objects from another Project

Figure 6.7. Copying Objects from another Project

Checking the Keep test case states checkbox keeps the state of all test cases while copying. Unchecking this checkbox sets all test case states to Draft.

[Note] Note

When copying a test suite, all test cases that are part of this test suite are also being copied. Securing access to the Project

A project can be secured by checking the Disable anonymous project access flag. If this flag is checked, a user must be logged into Klaros-Testmanagement to view bookmarked pages. More information about bookmarking is available at Section 9.9, “Bookmarking Results”. Assigning Project specific Roles
The Project Access tab

Figure 6.8. The Project Access tab

Klaros-Testmanagement Enterprise Edition integrates a rights and role system with its user management system (see Section 10.3, “Users”). In the Access tab administrators and test managers can assign and change project roles for individual users. For example, a user which has the global role tester can be assigned to one project as a tester and to another project as a test manager.

Initially, every project can be accessed by every user. If at least one tester or test manager has been assigned to a specific project, access to this project is restricted for all other users without an assigned role.

Pressing the Assign button opens up a popup (see Figure 6.9, “The Project Access Popup”) where new users can be added to the project.

The Project Access Popup

Figure 6.9. The Project Access Popup

[Note] Every project needs at least one test manager

A project needs at least one assigned test manager. When trying to save a project which has no assigned test manager, a warning message will be displayed in the log panel (see Section 5.2.4, “The Log Panel”). Results

The result tab is further divided into a Test Runs, Test Case Results and a Test Suite Results tab showing the test results related to this project as described in Section 5.2.16, “Related Test Runs and Results”.