Creating And Managing Parameters

First parameters are created with their values, and then Data Set is formed in the Test Case. Parameters created in Configuration are 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 to know about https://qmetrysupport.atlassian.net/wiki/spaces/QTM4JS440/pages/3260436239.

Creating a Parameter

Users with 'Configuration modify' access to the project can create and add parameters to the test case.

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

Below are the steps for parameter creation:

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

2. Under Project Configuration select Parameters.

3. Fill details mentioned below:

  • Parameter Name: Enter 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.

 

Editing a Parameter

Users with the '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.

Copy Parameters to Other QMetry Projects

Users can copy Parameters 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 the top right corner.

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

Duplicate entities will be ignored while copying.

Deleting a Parameter

Users with the 'Configuration modify' access to the project can delete a custom parameter that is not in use. 

Steps:

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

  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 in 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

You can easily locate the required Parameter on the screen through the Search feature. Before creating a new Parameter, you can search it on the screen and avoid duplication.

Steps:

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

  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 to the page https://qmetrysupport.atlassian.net/wiki/spaces/QTM4JS440/pages/3260436423.

To understand how to execute these parameters and parameter values, refer to the page https://qmetrysupport.atlassian.net/wiki/spaces/QTM4JS440/pages/3260436538.