Environment

Introduction

Generally the test executions are conducted against an environment/platform. Users can create a repository of environments under QMetry > Configurations. While execution of Test Cycles, the Environment list is populated from the Environment repository. 

QMetry has inbuilt System Default environment as 'No Environment'.  By default, 'No Environment' is selected as environment on Test Cycles. 

Jira Permissions : Browse Project permissions are required.

QMetry Permissions :

  • If Enabled then below permissions are required.

    • Configuration View

    • Configuration Modify

Use case : Your testing process needs environment as Opera browser to execute some test cases from execution. 

Adding an Environment

User should have 'Configuration modify' access to the project before creating environment for your test assets.

Below are the steps for it's creation:

  1. Go to QMetry menu > Configuration > Select your Project. 

  2. Under Test Execution select Environment.

  3. Enter new environment name and its relevant description. Click Add.

Add Environment Values Inline

The Environment field values can be added inline in the test asset detail page.

  1. In the Environment field, type the field value.

  2. An option to create the value is prompted. Click on it or press the ENTER key.

How to use an Environment? 

Below are the steps of how to use custom created environment while executing the Test Cycles.:

  1.  Go to QMetry menu > Test Management > Test Cycle tab.

  2. Navigate to execution screen.

  3. Click on drop-down for the environment field and Select environment as per requirement.

Editing an Environment

Users can edit values (Name, Description) of System as well as Custom Environments. Environments already used in assets will also get updated accordingly. Users with Configuration “Modify” rights for the project can edit the Environments.

Note: Modifying Environment name will reset the existing filters applied to the value.

Steps to edit an environment:

  1. Click on the environment name to edit. A text box to enter the new environment name appears as shown in the screenshot below.

  2. Type the new name and click on the tick mark symbol.

You can even edit the Description field in the similar manner.

The confirmation message pops up. Click Confirm to proceed.

Copy Environments to Other QMetry Projects

Users can copy Environments from one project to other project. The functionality allows users to use similar items in different QMetry projects without having to add these items individually.

Users can save their time as they do not have to create redundant/duplicate items for different QMetry projects.

  1. Select the items that you want to copy to other QMetry Projects and click Copy at top right corner.

Deleting an Environment

User needs to have 'Configuration modify' access to the project to delete an environment which is now not in use. 

Below are the steps to delete Environment:

  1. Go to QMetry menu > Configuration > Select your Project 

  2. Under Project Configuration select Environment. The Environment list is displayed on the screen.

  3. Click on the Delete icon of the Environment that you want to delete.

Note: When you try deleting an environment that is linked to any test execution then you will get below warning message.

Searching an Environment

Consider that you need to create environment 'firefox'. Search the environment before adding it. It helps you avoid duplicate environment creation. So, we will be searching it using below steps.

  1. Navigate to QMetry > Configuration menu > Select Project.

  2. Click on Environment under Project Configuration.

  3. Click on the search icon to see the text box. Type the keyword in the text box and press the ENTER key.