/
Reuse Test Cases / Shareable Test Cases

Reuse Test Cases / Shareable Test Cases

Introduction

QMetry Test Management encourages users to maximize efficiency in managing tests. It provides different ways to reuse test cases, which saves the time of testers and makes information maintenance easier for testers. The following is a summary of the options that users can use in the same project.

  1. Shareable Test Cases: Create shareable test cases to enable reuse of repetitive test cases across multiple projects.

  2. Copy/Move Shareable Test Cases: Easily copy and/or move test cases between folders within the same project or across different projects, either individually or in bulk.

  3. Copy Test Steps: Easily copy selected test steps from one test case to another test case present in the same project or another project.

  4. Move Test Cases: Move test cases in the same project or across different projects.

Shareable Test Cases

QMetry allows users to create Shareable Test Cases that can be reused in other test cases as needed. A shareable test case is used in other test cases within the same project to reduce the effort of creating same test steps across test cases.

The shareable test case functionality is beneficial as it:

  • Saves Time: Common test steps are consolidated into a single shareable test case, eliminating the need to write them repeatedly in every test case.

  • Maintains Consistency: Update the shareable test case once to apply changes across all test cases that use it. All other test cases that use the common test steps can have the updated information by using the updated version of the shareable test case.  

Create Shareable Test Cases

To create shareable test cases, navigate to: Home > Test Case

After creating a test case, users can designate any or all of the steps within the test case as shareable.

  • Click on the test case entity key to open the test case details page

  • Go to the Test Steps tab.

  • Select the test steps to share.

  • Click on the Create Shareable Test Case button.

The Create Shareable Test Case button is available only on test case details page.

image-20240802-081542.png

The "Create Shareable Test Case" pop-up appears. Enter a summary or name for the shareable test case and click "Create." The shareable test case will then be generated.

Update Shareable Test Cases

Users can update a shareable test case at any time.

→ If updated with the same version, any changes to the steps will automatically reflect in all test cases using the shareable test case.

→ If updated with a new version, the latest version will be synced across all linked test cases. Users do not need to link the new version separately. All test cases that utilize the updated shareable test case will automatically incorporate the latest changes.

Steps to sync the latest version of a shareable test case in the test cases it is linked with.

  1. Open the test case that uses a shareable test case in steps.

  2. Go to the Steps tab on the test case details page.

  3. Check the sync icon. If the shareable test case version is not synced, a refresh icon appears adjacent to the shareable test case.

  4. Click on the refresh icon to sync the latest version of the shareable test case.

  1. The shareable test case version is updated as per the latest version. Click Update to save the changes.

View Shareable Test Cases