This topic explains how to reorder tests as well as to how reuse tests and other test assets with copy/cut and paste.

Related Resources

To learn more about test reuse strategies, see the following topics:

Drag and Drop

You can drag and drop tests to reorder them.

Tip

 If you switch to the Navigator view, you can copy/paste and drag/drop between your projects and the external file explorer of the OS.

Cut/Copy and Paste

You might want to cut/copy and paste tests in the following situations:

  • You want to create new tests that are very similar to existing tests.
  • You want to change the order of test execution (tests are executed in the order in which they are listed in the Test Case Explorer).
  • You want to copy tests or test suites from one project to another.

Copy/Cut

To copy or cut a test or test suite, right-click the Test node or Test Suite node that represents the test or test suite that you want to cut/copy and choose Cut or Copy.

Paste

To paste a test or test suite at the end of a test suite, right-click the Test Suite node and choose Paste.

To paste a test or test suite in a specific position in a test suite, right-click the Test node above which you want the test case or test suite pasted and choose Paste.

Copying/Pasting Other Test Assets

You can also copy/paste other test assets, such as chained tools, data sources, transport settings, and so on, as needed.

  • No labels