Create and Delete Test Cases

qTest Manager allows you to create reusable test cases and store them in a central repository in Test Design. Then, using the drag/drop functionality within the left navigation panel and you can move Test Cases and folders into the preferred layout. For more information, refer to Build Your qTest Manager Repository: Test Design and Test Execution.

You cannot modify or delete Test Cases that are linked to objects in Tosca.

How to Create Test Cases Video

For highest quality, watch this video in full-screen mode.

Create a Test Case

Before you can execute Test Cases, you need to create them in Test Design. Then, you create Test Runs from the Test Execution module to plan and log execution results. Test Case information can be edited at any time.

To create a Test Case:

  1. In Manager, select the Test Design tab.

  2. In the tree panel, select the Module that you want to add the Test Case to.

    Test Cases, like Requirements, are organized in folders known as project Modules. Before creating a new Test Case in qTest Manager, make sure to create at least one project Module to organize your Test Cases. We recommend organizing Test Cases into a nested folder structure to make them easy to find.
  3. Click the New Test Case icon on the toolbar.

    The Test Case page appears.

  4. Click the Untitled Name field, and then enter a new name for the Test Case.

  5. Enter additional information for the Test Case, as needed, such as a description and the user the Test Case is assigned to.

    The Status, Type, Version, and Priority fields are automatically populated by qTest Manager. You can change the Status, Type, and Priority of the Test Case, as applicable. To create custom fields or modify existing system fields, refer to Field Settings.
    You can automatically send email notifications to other users when Test Cases (or other objects) are assigned to them. To configure email notifications, refer to Notification Settings.
  6. Click Save.

Enter Test Steps for a Test Case

  1. (Optional) In the Test Steps section at the bottom of the Test Case screen, click the field in the Step Description column to add a description for Test Step 0.

  2. Click Add to add the next Test Step.

  3. Click the Step Description and Expected Result fields to add a description and expected result for the Test Step.

    You can also call Parameters in a Test Step. For more information about calling Parameters, refer to Call a Parameter in a Test Case.

  4. (Optional) Click the Attachment icon to add an attachment to the Test Step.

    The Attachments dialog appears, where you can add an attachment by uploading a file from your computer, taking a screenshot, or dragging and dropping a file to upload.

  5. Repeat steps 2-4 to add additional Test Steps to the Test Case.

  6. Once all Test Steps have been added, click Save.

Add an attachment to a Test Case

To add an attachment to a Test Case:

  1. Click the Test Design tab.

  2. In the tree panel, select the Test Case.

    The Test Case screen appears.

  3. Click the Attachments tab.

  4. On the right side of the Attachments tab, perform one of the following options to add an attachment:

    • Upload Files. Click Upload Files to browse for and select a file to upload from your computer.

    • Take Screen Shot Paste Ctrl + V. Take a screenshot with a third-party program. Copy the screenshot from the program, and then press Ctrl+V to paste the screenshot as an attachment to the Test Case.

    • Drag and drop file here (Maximum Size 50MB). Drag and drop a file to this area to upload the file as an attachment.

  5. Once the file is uploaded, click Save.

Delete a Test Case

To delete a Test Case:

  1. In the Test Design tree panel, select the Test Case that you want to delete.

  2. Right-click the Test Case, and then click Delete on the menu that appears.

    The Test Case is deleted.

Notes

  • Deleting Test Cases will remove their associations with any Requirements.

  • Deleting a Called Test Case will remove all corresponding Test Steps within Calling Test Cases that included the Called Test Case.

  • Deleting a Test Case will automatically remove associated Test Runs in Test Execution, regardless of their execution status.

  • Requirements linked to deleted Test Cases will remain unchanged.

  • Deleted Test Cases can be restored from the Recycle Bin.

Next Steps

See the following articles: