/
Creating And Managing Parameters

Creating And Managing Parameters

First parameters are created with their values, and then Data Set is formed in the test case. Parameters are created in Configuration, which is populated in the Steps tab in the Test Case section of Test Management.

Note: Before starting with creating and managing parameters, refer to the introduction page Parameters .

Creating a Parameter

Users with Configuration “Modify” access to the project can create and add parameters to the test case. You can also create parameters and their values from the Test Case module. Refer to Create Parameters and Values from Test Case for more details.

Example: QA manager needs 'Display' parameter with 4 parameter values.

Below are the steps for parameter creation:

1. Go to QMetry menu > Configuration. 

2. Under Project Configuration select Parameters.

3. Fill details mentioned below:

  • Parameter Name: Enter the Name of the Parameter. It should be unique across projects.

  • Description: Enter the text that explains the purpose of the parameter being created. Then click on Add.

  • Parameter Value: Enter values for the parameter. 

A row gets added to the parameter. You can keep adding values as you required.

Once Parameters are added with their values, then the parameters can be used in the test case.

image-20240810-150629.png

Editing a Parameter

Users with Configuration “Modify” access to the project can edit a custom parameter that is already created.

Below are the steps to edit a parameter:

  1. Click on the parameter name to edit, and a text box appears to enter the new parameter name as shown in the below screenshot.

  2. Enter the updated name and click on the tick mark symbol. You can even edit the description field on similar lines.

You can edit Parameter values the same way.

image-20240810-150728.png

Copy Parameters to Other QMetry Projects

Users can copy Parameters from one project to other projects. 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 the top right corner.

2. Now select the project wherein you want to copy the selected items. You can select multiple QMetry Projects (maximum 5 projects) at a time to copy the item.

Duplicate entities will be ignored while copying.

Deleting a Parameter

Users with Configuration “Modify” access to the project can delete a custom parameter that is not in use. 

Below are the steps to delete Parameter:

  1. Go to QMetry menu > Configuration.  

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

  3. Hover over the Parameter that you want to delete and click on the Delete icon of the Parameter. Also, the parameter value can be deleted the same way.

Note: As shown in the below screenshot, you will get an error in case parameter is used in any of the test cases.

Searching a Parameter

To avoid the duplication of the parameter, QA manager can use the search option for the parameter to search for the specific parameter if it exists. 

Below are the steps for searching the parameter.

  1. Navigate to QMetry > Configuration menu.

  2. Click on the parameter and type the keyword in the text box as shown below.

Useful References

To understand how to use these parameters and parameter values, refer page Using Parameters And Parameter Values .

To understand how to execute these parameters and parameter values, refer page Execution of Parameters and Parameter Values.