Share Test Cases with Another Project

One way to use Test Cases from another project is by sharing a Test Case for Test Execution. This function is used to create a Test Run in one project using a Test Case shared by another project.

There is a difference between copying a Test Case and sharing a Test Case.

  • When a Test Case is copied, the result is two Test Cases: one in the original project and another Test Case in the project where it is copied. Changes made to one Test Case do not update the other Test Case.

  • When a Test Case is shared, there is one Test Case, and it resides in the original project while also affecting the project with which it is shared. Any updates made to the Test Case after it is shared are updated to the project where the Test Case resides, as well as by the other project that has borrowed the Test Case.

To share Test Cases with another project:

  1. You will first need to activate Test Case sharing within a project.

  2. You can then share a Test Case.

  3. Once a Test Case is shareable, you can then add Test Runs using a Test Case from another project.

Activate Test Case Sharing

  1. Access the project that contains the original Test Case.

  2. Click the Settings icon . Then click the Test Case Settings option on the drop-down menu that appears.

    The Test Case Settings screen appears.

    Test Case settings apply on a per-project basis.
  3. In the Test Case Sharing section, click the Activation Status slide button to turn Test Case sharing on.

  4. Select the Enable users to use Test Cases from other projects check box.

  5. Select the Share this project's Test Cases with other projects check box.

  6. In the Projects field, select the check boxes in the Shared column for the projects you want to allow to borrow test cases from the current project.

  7. Click Save.

  8. Once the changes have been saved, a confirmation message appears. Click Refresh to refresh the project settings.

Share a Test Case

  1. Access the project that contains the original Test Case. Then access the Test Design tab.

  2. In the tree panel, select the Test Case or a folder of Test Cases that you want to verify.

  3. Click the Test Case Properties section to display the Test Case properties.

  4. Select the Shared check box to indicate that this Test Case (or folder of Test Cases) can be shared with other projects.

Add Test Runs using a Test Case from Another Project

Once you have shared a Test Case, you can use the shared Test Case when you add a Test Run. For a procedure on adding test runs using a test case from another project, refer to Add Test Runs Using Test Cases from Another Project.

NOTES

  • If a Test Run has been created using a shared Test Case, the Test Run cannot be edited using the TestPad.

  • A shared Test Case needs to be approved at least once so that other users in other projects can create Test Runs using the shared Test Case.

  • When a Test Case is unshared, its associated Test Runs in other projects will become read-only and unexecutable.

  • You cannot automate a shared Test Case or Test Run. Shared Test Cases are only executable manually through the TestPad and cannot be executed through our API, so Launch or Automation Host cannot execute them.

  • When you share a Module, its sub-modules are automatically shared. If you are granted the Edit Test Cases permission, the existing Test Case under the Module is also shared.

  • When you create a new Test Case or a sub-module under a shared Test Case, it is shared by default and you can unshare it.

  • When you copy or move Modules or Test Cases into a shared Module, you can confirm whether you want to share the copied or moved Modules or Test Cases.

  • When you unshare a Module, you can confirm whether you want to automatically unshare its sub-modules and Test Cases. If you are not granted the Edit Test Cases permission, the Test Cases will not be unshared.