What's New: Enhancements to the Test Case Module

What's New: Enhancements to the Test Case Module

 

With the release of QMetry 8.22.0 Cloud on August 2, 2025, two significant enhancements were introduced to the Test Case (TC) module.

This document is intended to guide existing users through the recent updates. We recommend reviewing the changes carefully to ensure a seamless transition.

 

Enhancements to Test Case Module

As part of this release, the following key enhancements are introduced:

  1. Test Cases Reusability Across Multiple Folders: A single test case can now be associated with multiple folders within the same project. This feature allows users to reference the same test case (identified by its unique key) across different folders, within the same hierarchy or across different hierarchies, without creating duplicates.

image-20250730-111944.png

 

  1. Folder-Level Test Case Sequencing: Users can now define a custom order for test cases within each folder. The sequence is maintained uniquely per folder, enabling teams to organize test cases according to specific scenarios or execution flows. The Order column appears in the test case grid only when Include Entities from Sub-Folder option is disabled.

image-20250730-112044.png

Enhancements and Workflow Updates in the Test Case Module

The following workflow updates have been introduced in the Test Case module to enable test case reusability and folder-level sequencing. These enhancements simplify test case organization, enhance folder management and provide better control over archived assets:

  • The Project Root Folder now displays all active test cases by default. Any newly created test case will be saved under the “Project Root Folder”, in addition to the selected folder. The “Include Entities from Sub-Folder” view now applies only to subfolders and not to the Project Root Folder.

  • A new filter, Show Only Test Cases Not Assigned to Any Folder, has been added to enable users to identify test cases that are not associated with any folder.

image-20250730-112127.png

 

  • Archiving a test case now automatically removes it from all linked folders. These test cases are excluded from folder-level counts and no longer appear alongside active test cases. A new dedicated filter, Show Only Archived Test Cases, is introduced to enable users to locate and manage archived test cases. As part of this release, all previously archived test cases in the projects will be disassociated from their respective folders. For reference, the test case change log will record the original folder path.

image-20250718-053344.png
  • Archiving a folder will now archive only the folder itself and not the test cases it contains. All test cases within the folder will be disassociated from it upon archiving. During folder archiving, users now have the option to move the test cases to another folder. If the test cases also need to be archived, they must be archived separately. A separate filter, Show Archived Folders, is introduced to enable users to view and manage archived folders.

image-20250730-112151.png

 

  • The folder path navigation breadcrumbs at the top of the Test Case details screen now display the folder from which the test case is being accessed. This ensures accurate context when a test case is referenced across multiple folders. Sharing the link to the test case will open it from the Project Root Folder.

  • Deprecated Features:

    • Sorting by folder path is no longer supported across application screens, as test cases can now reside in multiple folders.

    • The test case count is no longer displayed next to the project root folder to prevent misrepresentation, as test cases can now reside in multiple folders.


Changes to Custom Reporting (QMetry Insights)

Visual Reports Changes

The Test Case Entity table in Visual Reports now includes two new columns: Test Case Folder Name and Test Case Folder Archived, enabling users to generate reports based on folder names and easily filter out archived folders.

Action Required: Update Custom Gadgets Using Visual Reports

To ensure accurate data display, follow these steps if your custom gadget uses “Test Case Folder ID” or “Test Case Folder Path” fields or filters:

  1. Open the existing custom gadget in Visual Reports.

  2. Edit the gadget.

  3. Remove the fields or filters:

    • Test Case Folder ID

    • Test Case Folder Path

  4. Re-add the same fields or filters to reflect the latest updates.

  5. Save the gadget.

This will ensure the gadget displays correct and up-to-date information.

 

Advance Query Report Changes

A new table, testcasefolder, has been introduced to store test case folder information, including folder name, path, ID, and other related details.

Action Required: Update Custom SQL Gadgets Using Advanced Query Reports

  • If your custom SQL gadgets include any of the following fields or filters:

    • testcases.folderName

    • testcases.folderPath

    • testcases.tcFolderID

Follow these steps to update them:

  1. Open the SQL gadget in Advanced Query Reports.

  2. Review the query for any usage of the above fields or filters.

  3. Update the query to fetch or filter test case folder-related data by:

    • Joining the testcases table with the new testcasefolder table.

  4. Replace any direct references to old folder fields with the appropriate fields from the testcasefolder table.

  5. Test the updated query to ensure data accuracy.

  6. Save the changes.

Join the testcasefolder table with your existing query.

For example,

select tc.entityKey,tc.summary, tcf.folderName,tcf.folderPath,tcf.testcaseFolderID from testcases tc join testcasefolder tcf on tc.testcaseID = tcf.testcaseID where tc.projectID in (`@filter.project`);

If you have any questions or require help preparing for these updates, please don’t hesitate to contact QMetry Support.

 

Resources