Applies to ReadyAPI 2.7, last modified on May 14, 2019

This topic contains a detailed description of how to perform basic actions upon test cases.

Disable test cases

If you need one or more test cases to be skipped during a test run, you can disable them. To do this:

  • Right-click the desired test cases and select Disable TestCase.

– or –

  • Select the desired test cases.

  • Click Case  > Disable TestCase.

Enable test cases

To enable disabled test cases, perform the following steps:

  • Right-click the desired test cases and select Enable TestCase.

– or –

  • Select the desired test cases.

  • Click Case  > Enable TestCase.

Clone/move individual test case

To copy a single test case, perform the following steps:

  • Right-click the desired test case and select Clone TestCase.

– or –

  • Select the desired test case.

  • Click TestCase  > Clone TestCase.

Clone TestCase dialog

In the subsequent dialog, specify the following options:

  • TestCase Name – The name of the new test case.

  • Target Project – The project to which you want to place a new test case.

  • Target TestSuite – The test suite to which you want to place a new test case.

  • Clone SecurityTests – Select this option to clone a security test related to the selected test case.

  • Move Instead – Select this option to delete a source test case.

  • Clone description – Select this option to clone a test case with the existing description.

  • Description – Specify the description of the cloned test case if you disable the Clone description option.

  • Clone requirements – Select this option to clone a test case with the existing requirements.

  • Requirements – Specify requirements of a cloned test case if you disable the Clone requirements option.

Clone several test cases

You can create clones of existing test cases to use them in a different place. The cloned cases will be the exact copies at the time of cloning. If you later change the original, the cloned copy will not be affected. ReadyAPI automatically copies corresponding APIs to the destination project if needed.

To clone multiple test cases:

  • Select test cases you want to clone:

  • Open the context menu and select Clone test cases:

  • In the subsequent Clone TestCases dialog, you can configure the cloning. Click Clone to complete the process:

    Clone TestCases dialog

    The dialog has the following options:

    • A list of TestCases to be cloned – The names of the selected test cases, projects and test suites that contain them.

    • Project – The project to which the test cases will be cloned. You can select the existing project or create a new one by selecting <Create New>.

    • TestSuite – The destination test suite to which the test case will be cloned. You can select the existing suite from the specified destination project or create a new one by selecting <Create New>.

    • Clone Security Tests – Enable this option to clone the related security tests to the destination project.

Move several test cases

You can move multiple test cases simultaneously. You can select cases from different test suites and projects. ReadyAPI automatically copies corresponding APIs to the destination project if needed. To move test cases:

  • Select cases you want to move.

  • Open the context menu and select Move TestCases.

  • In the subsequent Move TestCases dialog, configure the moving. Click Move to complete the process:

    Move TestCases dialog

    The dialog has the following options:

    • A list of TestCases to be moved – The names of the selected test cases, projects and test suites that contain them.

    • Project – The project to which the test cases will be moved. You can select the existing project or create a new one by selecting <Create New>.

    • TestSuite – The destination test suite to which the test case will be moved. You can select the existing suite from the specified destination project or create a new one by selecting <Create New>.

Validate test cases

When you clone a test case, ReadyAPI validates all necessary external dependencies. If there are any errors, it shows the Validate TestCase dialog. By using this dialog, you can examine all errors and resolve them as needed.

Validate case

To resolve a potential problem:

  • Select an appropriate action from the drop-down menu in the Action column.

  • Enter parameters or values if needed.

  • Click OK.

Remove test cases

To delete test cases:

  • Right-click the desired test cases and select Remove.

– or –

  • Select the desired test cases.

  • Click Case  > Remove.

In the subsequent dialog confirm the operation to finish removing.

Rename test case

To rename a test case:

  • Right-click the desired test case and select Rename.

– or –

  • Select the desired test case.

  • Select Case  > Rename from the main menu.

Enter the desired name in the subsequent dialog and click Ok.

Renaming a test case of a composite project will change the file name of the matching test case.

Change test case order

If you want to change the order of the test case execution:

  • Right-click the desired test case and select Move Up or Move Down.

– or –

  • Select the desired test case.

  • Click Case  > Move Up or Case  > Move Down.

See Also

Test Case Editor
Running Tests
Managing Test Suites
Managing Test Steps

Highlight search results