Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

Overview of Test Case Sharing

QMetry Test Management encourages users to maximize efficiency in managing testtests. It provides different ways to reuse test cases, which saves 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. Reusing Shareable Test Cases: Shareable Test case are set of "Shareable Steps" that can be reused in other Test cases
  2. Copying Test Steps: Create a duplicate copy of the step into the same test case. This is a one-time copy and paste of test steps.
  3. Copying Test Cases: A one-time copy and paste of bulk test case(s). The test cases can be pasted into the same project and across projects.
  4. Moving Test Cases: The test cases can be moved into the same project and across projects.

Shareable Test Cases

QMetry allows you to create Shareable Test Cases and reuse these Shareable Test Cases into another test case, i.e. reusing test cases. A shareable test case is used in different other tests within the same project to avoid creation of repeated test steps across test cases.

...

  • Saves Time: The common test steps are added into a single test case instead of entering the repeated test steps into every test case.
  • Maintains Consistency: If the test steps need to be updated, then you can update the shareable test case in a single place. 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

In this example, we will show you how to add a shareable test case and then reuse it in another test case. You can create shareable test cases using existing test steps.

Once you create a test case with test steps, open the test case details page.

Go to the Test Steps section.

...

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


Image RemovedImage Added


The Create Shareable Test Case pop-up opens. Enter Summary/Name of the shareable test case that is being created and click Create. The shareable test case is created.Image Removed.


Image Added


Update Shareable Test Cases

You can update the shareable test case in a single place.

If the shareable test case is updated with the same version, then any changes to the steps automatically get reflected to the test cases that use the shareable test case.

If the shareable test case is updated with the new version, then this new version of the shareable test case should be synced in the test cases that use the shareable test case. This way users can sync the latest version of the shareable test case into the already linked test cases. Users do not have to link the new version of the shareable test case separately to the test case. 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.  


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.

If the shareable test case version is not synced, you can see the refresh icon adjacent to the shareable test case.

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


Image Added


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


Image Added


View Shareable Test Cases

To view the shareable test cases created within the project, select the Show Only Shareable check box in the test case list view. The filter will be applied to display the shareable test cases.

The shareable test case is identified by its distinct icon. 


Image RemovedImage Added


To open the test case details page, click on the Entity Key of the shareable test case.


Image RemovedImage Added


Reuse Shareable Test Cases

Shareable Test Cases are helpful when test steps are used repeatedly. While creating a new test case, testers may want to reuse a shareable test case because it contains the same test steps that are to be followed in the new test case.

...

To insert the shareable test case in the next row, click on the cog icon on the individual test step and select Insert Shareable Test Case.


Image RemovedImage Added


3. The Link Shareable Test Case pop-up opens. Select the test case you want to link to the new test case. You can also select a particular version of the test case.

4. Click either on Link or on Link & Close button. Clicking on the Link button will keep the window open after linking test cases. Clicking on the Link & Close button will close the window after linking test cases.


Image RemovedImage Added


The shareable test cases are added to another test case. On the Steps tab, you can view the test case Key and version that has been linked.

Image Removed

You can -

A. Drag & Drop test steps to re-arrange them.

B. Open the shareable test case in a separate tab.


Image Added


View Test Cases Linked to a Shareable Test Case

On the shareable test case detail page, open the Test Case tab. The tab lists all the test cases in which the current shareable test case is linked.

...

Use Case: A shareable test case is updated, but testers do not know which test cases will be impacted due to this change. Hence, the Test Case tab is added to help testers see the test cases in which shareable test cases are used.


Image RemovedImage Added


View Test Cases having Shareable Test Case

The Show Test Cases with Shareable Test Case filter is added on the test case tree to let users see test cases to which shareable test cases linked into it.

Use Case: Testers want a quick way to see test cases which contains that contain shareable test cases linked to it. The filter allows users to get such list of test cases promptly instead of checking individual test cases for the shareable test cases attached to them.


Image RemovedImage Added


Easily Identify Steps from Shared Test Cases

On the Test Execution screen, you can view the Shareable Step details. The Shareable Steps have distinguished black border to themcan be identified by the icon to open it in a separate tab. On hovering the icon, it displays the Entity Key for the test step. When you run a test, you can either mark the whole test case as passed or failed, or mark each step individually.


Image RemovedImage Added

Copying Test Steps

QMetry allows you to copy and paste test steps within the same test case.

Copy / Paste test steps within the same test case

  1. Go to the Test Steps section and click Edit. You can now view '+' icon and cog icon for steps.
  2. Select the test step that you want to create a copy of.
  3. Click on the Con icon for the step, and select Duplicate Row.
  4. It will create a copy of the existing step and add it to the test steps.


Image RemovedImage Added

Copying Bulk Test Cases

Users  Users can copy test cases into the same project or across the project. This function works as a one-time copy so that the duplicate sets of test case(s) act independently going forward.  In other words, after the copy and paste, any changes performed on the original test case will not be reflected in the test case's copy.  

...

Test Cases can be copied to the destination folder or a root folder of the destination project.


What will be copied with test assets?

...

Select the project from which you will copy a test case. Go to the Test Cases module, click on the Con icon and select Bulk Operations.


Image RemovedImage Added


Step 1 Choose Operation: Select Copy as the operation to perform and click Next.


Image RemovedImage Added


Step 2 Select records

1. Select test case records which that are to be copied. If you want to copy all the test cases across pages then select the Select All (Across Pages) option. Maximum 1000 records can be selected at a time.

2. You can apply Filter to search specific records based on different criteria. It will help you pick required test cases and narrow down the test case count to be copied. In addition, you can also view records of a specific folder by applying filter on Choose Folder.

Image Removed

Image Removed

3. Select test case version options:

  • Specific Version: Test Cases in the grid appear expandable when this option is selected. On expanding test case, you can view all the available versions for the test case.
  • All Versions: if this option is selected, then the Version button is disabled. Users can not select a particular version of the test case.

Image Removed

43. Click Next.


Image Added


Step 3 Operation Details

  • Project: You can copy test cases within the same project and across projects. Select the destination Project/folder path you want to copy the selected  selected test cases to.
  • Owner: If the test cases are being copied to another project, then you can select the Owner of the test cases in the destination project. The Owner list is populated as per the Project selection above.
  • Folder: Select the folder in which you want to copy the selected test cases. The Destination Path is displayed according to the Folder selection.

...

Click Copy.


Image Added


The confirmation message appears.

Moving Bulk Test Cases

The process is same as Bulk Copy except the version selection. Test Assets will be moved with all its existing versions.

...

Select the project from which you will move a test case. Go to the Test Cases module, click on the Con icon and select Bulk Operations.


Image RemovedImage Added


Step 1 Choose Operation: Select Move as the operation to perform and click Next.


Image RemovedImage Added


Step 2 Select records

1. Select test case records which that are to be copied. If you want to move all the test cases across pages then select the Select All (Across Pages) option. Maximum 1000 records can be selected at a time.

2. You can apply Filter to search specific records based on different criteria. It will help you pick required test cases and narrow down the test case count to be moved. In addition, you can also view records of a specific folder by applying filter on Choose Folder.

Image Removed

Image Removed

3. Select test cases and click Next.

...

  • Project: You can copy test cases within the same project and across projects. Select the destination Project/folder path you want to copy the selected  selected test cases to.
  • Owner: If the test cases are being copied to another project, then you can select the Owner of the test cases in the destination project. The Owner list is populated as per the Project selection above.
  • Folder: Select the folder in which you want to copy the selected test cases. The Destination Path is displayed according to the Folder selection.

Image Removed

Click Move.


Image Added


The confirmation message appears.

...