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
  • Why Reusability matters in Testing?
  • Creating Functions in SimplifyQA
  • Reusing Functions in Test Cases
  • Replacing existing steps in a test case with a function
  • Benefits of using Functions in SimplifyQA
  1. Introduction to Test Management in SimplifyQA

Leverage Re-usability in your Tests

PreviousCreate Hybrid Test Case in SimplifyQANextOrganise your Test Cases

Last updated 1 month ago

Reusability is a key factor in efficient test management. SimplifyQA allows you to create reusable functions that can be applied across multiple test cases, reducing redundancy and improving test case maintainability. With the ability to save and close or save and replace, managing reusable test steps becomes seamless.

Why Reusability matters in Testing?

  • Reduces Effort: Avoid writing repetitive test steps for similar scenarios.

  • Improves Consistency: Ensures standardised test execution.

  • Enhances Maintainability: Update once and reflect changes across multiple test cases.

Creating Functions in SimplifyQA

  1. Navigate to Function Library

  • Navigate to the Test Management section in SimplifyQA from the left panel.

  • Click on the Functions tab to view all the existing functions and to manage reusable test steps.

  1. Create a New Function: Click on 'Create Function' to define a reusable function, select the type of function and application type from the dropdown.

  • Provide a Name and Description to identify its purpose.

  1. Add test steps that will be part of the function

  2. Save the function

Reusing Functions in Test Cases

Once a function is created, it can be used in any test case to avoid redundancy.

How to Add a Function to a Test Case?

  1. Open a Test Case where you want to reuse the function.

  2. Click on '+ Step' dropdown and select 'Function'.

  1. Choose the required function from the list.

  1. The function will be inserted into the test case.

Managing and Updating Functions

Editing a Function:

  • Go to the Functions step in the test case or select the function by navigating to 'Function' library to modify.

  • Update steps as needed and Save.

Note: Any test case using this function will automatically reflect these changes.

Replacing existing steps in a test case with a function

  • Open the test case and select the steps to replace by selecting the checkbox.

  • Click on the 'Save Function' option.

  • Provide an appropriate name and save using one of the two available options:

    • Save and Close: Saves the function and closes the popup.

    • Save and Replace: Saves the function and allows replacing selected test steps with this function.

Benefits of using Functions in SimplifyQA

  • Saves Time – Write once, reuse it multiple times.

  • Ensures Consistency – Standardised execution across all test cases.

  • Easy Maintenance – Update centrally and reflect changes everywhere.

  • Better Organisation – Keep test cases modular and manageable.

Frequently Asked Questions

Can I use a function across different projects?

No, functions are currently limited to the project they were created in. However, you can copy the functions to other projects and use the same.

What happens if I update a function?

Any test case using the function will automatically reflect the updates.

Why is the 'Save and Replace' option not enabled for me?

The 'Save and Replace' option is disabled if the steps checkbox is not selected in sequence but instead skips levels. To enable it, ensure that the steps are selected sequentially without skipping any levels.