Leverage Re-usability in your Tests
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
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.

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.

Add test steps that will be part of the function
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?
Open a Test Case where you want to reuse the function.
Click on '+ Step' dropdown and select 'Function'.

Choose the required function from the list.

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.
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
Last updated