Leverage Re-usability in your Tests
Last updated
Last updated
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.
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.
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
Once a function is created, it can be used in any test case to avoid redundancy.
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.
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.
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.