How to preserve shareable test cases via export-import?

Currently, in QMetry, when you export a test case that has a shareable test case together in an excel/CSV file - while re-importing the same, it imports the shareable steps as normal steps. It is to be noted that the import does not have support to reference/link shareable test cases with the ones getting imported. At the time of export, the shareable test steps are differentiated with a column “Shared Test Case Step“ in the exported file. When performing a fresh test case import or re-import, they are imported as normal test steps.

However, you can retain the Shareable Test Case linkage in newer versions of the test case when you re-import a test case by following any of the below two methods:

  • Method-1: Export your test case with the option Export Test Case(s) without steps. The test cases would be exported without steps, then you can make required modifications in the exported file and perform re-import. Re-importing the excel sheet will retain your test steps and the shareable test case linked in the latest version created through the re-import.

  • Method-2: Export your test case with the option Export Test Case(s) with steps in single row. While re-importing the excel sheet, do not map any test step QMetry fields or remove the test step mapping if you have Auto-Mapped the fields. The new version created through the re-import will retain the test steps and the relationship to the shareable test case is also retained.