Parameterization

Parameterization is a powerful feature in Qyrus that allows users to pass data to their scripts using external data tables. This flexibility enables dynamic testing scenarios and data-driven testing, enhancing the versatility of your automated tests. it also allows user to skip particular step by passing "~" symbol in data table.

How to Use Parameterization

To leverage parameterization, you can either create a data table using our TDM (Test Data Management) service or utilize the existing Parameterization feature. Here's how to use it:

Prerequisites

Before you get started, ensure you have:

  • Previously created a Project

  • Previously created a Module

  • Previously created a Script

Note: This feature is also available within Test Lab and Sprints.

  1. Navigate to your previously created Test Script or create a new one by following the Step creation documentation.

  2. After creating your steps, click on the "Parameterize" button to enable parameterization for the desired step.

Parameterization Step 1
  1. Provide the name of the Data Column and save the script.

Parameterization Step 2
  1. Click "Create Table" under parameterization to define your data table structure.

    Parameterization Step 3
  2. Populate the data table with the required information.

    • Test_Case: This field is mandatory and represents the name of the test case execution associated with the corresponding data. The number of rows in the "Test_Case" column determines how many times the test script will be executed, with each execution using different data from the corresponding row. For example, if there are two rows for 'Test_Case' as shown in the image below, the test script will be executed twice. In the first execution, the "Name" step's data value will be "Hritik," and in the second execution, it will be "Hritik Shinde."

    Parameterization Step 4
  3. Overview

    Parameterization Overview

Note: Users can also use an environment created in the project setup to save parameterized tables.

  1. Once the data is saved successfully, you can execute the test. Ensure you select the appropriate environment in which the data table is stored.

    Execute Parameterized Step
  2. The test script will be executed for the specified test cases defined in the data table.

    Parameterization Result

How to skip test cases ?

  • To skip test case you have to mark data column value with Tilde "~" symbol

    Parameterization Skip Step
  • This will skip the particular step while execution and no operation will be perform for the test case marked as "~"

    Parameterization Result Skip Test Case
  • To Skip entire test case in parametrization mark test case with Tilde "~" symbol

    Parameterization Result Skip Test Cases
    Parameterization Result Skip Test Case

Login to sap parameterize

  • In login to SAP, users need to input essential column information, including client, password, SAP system name, and username.

    Parameterization Login To Sap Parameterized Step
    Parameterization Login To Sap Parameterized file
  • To Skip a test case in login to sap in parameterize file use "~" symbol in system name

    Parameterization Login To Sap Parameterized file Skip Test
    Parameterization Login To Sap Results

By following these steps, you can harness the power of parameterization to enhance your testing capabilities in Qyrus.

Last updated