Move or Copy Tests Between Test Classes

After you define a test within one test class (Unit, Integration, System, Acceptance, Inspection or Scenario), you might decide that the test either is better suited to another test class, or forms a good template for tests in other classes. If so, you can either move or copy the test to the other classes.

Access Select element | Element | Testing | <test class> | right-click on test in list to move/copy     or

Select element | Element | Element Browser > Testing folder | right-click on test to move/copy

Move or copy a test



See also


Click on the appropriate option - 'Move to' or 'Copy to'.

A list of test classes displays.


Click on the test class to which to move or copy the test.

A confirmatory prompt displays.


Click on the Yes button to confirm the move or copy.


Change the test class selected on of the Testing window to the target class, to check that the test has been added, and make any necessary changes.

Create Test Records


If you are copying the test to more than one other test class, repeat steps 1 to 4 for the next class to copy to.


  • If you move or copy a test into the Scenario class, some unassociated data could be lost

Learn more

Learning Center topics

  • Alt+F1 | Enterprise Architect | Testing | Testing | Changing Test Category