LogoLogo
  • About SimplifyQA
  • Get Started with SimplifyQA
    • Agile & Non-Agile Framework
    • OS Support
    • SimplifyQA Hosting
      • On-premise Installation Guide
        • Pre-requisites
        • Installation Guide
      • Support and Resources
      • Training and Onboarding
    • Explore SimplifyQA for your Application Lifecycle Management
  • SimplifyQA Installation & Setup
    • Setup QAWizard
    • Register QAWizard
    • Setup Android Device
      • How to enable settings in android device?
      • How to register android device?
      • Setup emulators on Android Studio for automation in SimplifyQA
    • Setup iOS Device
      • How to setup iOS device in Apple Developer Account?
      • How to register iOS device?
  • Get to know your Workspace
    • Blueprint of SimplifyQA
    • Key Terminologies
    • Search/Global Search
      • How to use global search?
      • How to use advance search?
      • How to use column sort?
      • How to use column filters?
      • Add or remove columns
    • Rich Text Editor
    • Import & Export
    • Add Attachments
    • Add Linkages
    • Add Comments
    • Manage Cards in board view
    • Configure Watchlist
    • Track Edit History
    • Hierarchy Tree
  • Admin Controls & Configurations
    • Manage Projects & Users
      • Create Project and Invite Users
      • Project Settings
        • Create and Manage Custom Fields
      • Grant Admin Privilege to User
      • Invite/Add Users to Team
      • User Directory and Access Control
      • Configure Page Layout
      • Manage Roles and Privileges
      • Configure Auto-logging of Defects
    • Configure your clients
    • Password settings
  • Release & Sprints
    • Introduction to Releases
    • Create & Manage Release & Sprint
    • Start & Close a Sprint
  • Create and Manage your Requirements
    • Introduction to Requirement Management
    • Create & Manage Epic
    • Create & Manage Features
    • Create & Manage User Stories
  • Introduction to Test Management in SimplifyQA
    • Create a Manual Test Case in SimplifyQA
    • Create an Automation Test Case in SimplifyQA
    • Learn API Testing in SimplifyQA
      • Create an API Test Case in SimplifyQA
      • Quick Test the API
      • Validating API Responses
      • Understanding API Parameterisation
      • Save API Response Data
      • Achieve Data flow for E2E Testing
    • Create Hybrid Test Case in SimplifyQA
    • Leverage Re-usability in your Tests
    • Organise your Test Cases
    • Linking a Test Case to User Story
    • Linking a Test Case to Defect
    • Version Control your Test Case
    • Create a Copy of your Test Case
    • Copy Test Case to different Project
    • Conditional Statements
      • Decision Making Statement
      • Looping Statement
      • BREAK & CONTINUE Statement
    • Supported Actions
    • Utilising Mobile Inspector in SimplifyQA
  • Introduction to Script-less Recording of Test Case
    • Record a Web Test Case in SimplifyQA
    • Record an Android Test Case in SimplifyQA
      • Record an Android Test Case
    • Record Functions in SimplifyQA
    • Understand Object Recognition Mechanism & Self Healing in SimplifyQA
  • Test Data Management
    • Work with the Formulas to Optimise Test Data
    • Import and Export Test Data Sets
  • Introduction to Object Repository
    • Capture Objects for your Tests
    • Organise your Test Objects
    • Parameterise your Test Object Properties
  • Introduction to Parameters
    • Various Types of Parameters
    • Create and Utilise Parameters in your Test Case
    • Understanding Runtime Parameters
  • Defect Management
  • Marketplace
    • Integration with Project Management Tools
      • Integrating SimplifyQA with Jira
        • Configure Web-hooks
        • SimplifyQA Setup for Integration
          • Setup your Account for Jira Integration
          • Configuration in SimplifyQA Admin
          • Steps to Generate a Jira API Token
          • Steps to create SimplifyQA token
          • Steps to get Jira Account ID
          • Synchronisation Functionality Between SimplifyQA and Jira
          • Analyse Logs for Data Synchronisation
        • Mapping Fields for Issue Types
        • Viewing SimplifyQA Test Cases in Jira
  • Legal Documents
    • End-User License Agreement
Powered by GitBook
On this page
  • What are Runtime Parameters?
  • Key Features of Runtime Parameters
  • Creating Runtime Parameters in SimplifyQA
  1. Introduction to Parameters

Understanding Runtime Parameters

Runtime Parameters are dynamic inputs that can be passed to test cases during execution. These parameters provide flexibility, allowing you to reuse test cases with varying values and conditions, without having to modify the test steps or scripts. They are essential for automating tests in different environments, with different data, and in various scenarios.

What are Runtime Parameters?

Runtime Parameters are variables that you can set and use within your test cases during execution. They help in customising test runs based on specific inputs that are defined at runtime, rather than hardcoding values into the test scripts.

Key Features of Runtime Parameters

  • Dynamic Inputs: They can be provided at runtime and vary between executions.

  • Test Reusability: Test cases can be reused with different sets of data.

  • Environment Flexibility: You can run tests in different environments (e.g., UAT, Production) by passing different parameter values.

  • Seamless Integration: Allows integration with data-driven testing approaches by dynamically feeding data into tests.

  • Scalability: Easily scale your tests by running them with different parameter values without changing the core test logic.

Creating Runtime Parameters in SimplifyQA

To use runtime parameters effectively, follow these steps:

1. Create a Runtime Parameter

  • Navigate to Test Management >Parameters.

  • Click on '+ Parameter', then enter a name and select a parameter type (both mandatory fields)

  • When selecting the parameter type select 'Runtime'.

  • If you want the parameter keys to be unique, enable the "Make Unique" field and click 'Save'.

  1. Understanding the 'Make Unique' Field

When creating a runtime parameter, selecting 'Make Unique' will open a dropdown with the following options:

This option is used to make the runtime parameter keys unique by appending below options:

OPTION

DESCRIPTION

EXAMPLE OUTPUT

_TestcaseID

Appends the Test Case ID to the key.

testUser_12345

_UserID

Appends the User ID to the key.

testUser_56789

_UserID_TestcaseID

Combines User ID and Test Case ID.

testUser_56789_12345

_TestcaseID_UserID

Combines Test Case ID and User ID.

testUser_12345_56789

Use case: If multiple test cases run in parallel, enabling this feature ensures that each parameter remains unique, preventing duplicate runtime values.

  1. Using Runtime Parameters in a Test Case (For example)

  • Navigate to a Test Case: Go to Test Management > Test Cases and open a test case.

  • Use "Get Text and Store " action which fetches the text from UI and stores to runtime parameter.

    • Add a step to your test case where you need to capture a value dynamically.

    • Select the action: "Get Text and Store".

    • Provide a Runtime Parameter Name (e.g., CapturedOrderID).

  • Use the Stored Parameter in another Step:

    • In a subsequent step, reference the runtime parameter as “CapturedOrderID”

    • Example Use Case – Capturing Order ID Dynamically

STEP

ACTION

INPUT

OUTPUT

1

Navigate to Order Page

URL

-

2

Get Order ID from UI

XPath: //span[@id='orderID']

Store in ${CapturedOrderID}

3

Use Order ID in Next Action

Input: ${CapturedOrderID}

-

This ensures that every order ID is dynamically captured and reused throughout the test.

PreviousCreate and Utilise Parameters in your Test CaseNextDefect Management

Last updated 27 days ago