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. (Optional) If available, add any information into the custom fields. For more information on how to add custom fields, refer to Site Fields.

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

  7. 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.

Create and delete test cases

As part of your testing journey, you'll create and store test cases in the Test Design tab. A test case should cover a specific scenario that needs testing, the steps needed to perform a test run, and the expected results of the test run.

You can create a test case in one of the following ways:

For more tips on how to use qTest to structure your testing process, check out Build Your qTest Manager Repository: Test Design and Test Execution.

How to create test cases video

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

Manually create a test case

To start testing your software, first you need to create a test case that defines what, where, and how to test.

Note that you can edit existing test cases at any point.

To create a test case, follow these steps:

  1. In qTest Manager, go to the Test Design tab.

  2. Optionally, select the module you want to add the test case to from the left panel.

    Note that you don't have to perform this step, but we recommend that you create at least one project module when you organize your test cases. If you organize your test cases into a nested folder structure with modules, they'll be much easier to find later.

  3. Select New Test Case icon in the toolbar to create a new test case.

  4. Enter a unique title for the new test case.

  5. Enter any additional information for the test case, such as a Description and who the case is Assigned To.

    Note that the Status, Type, Version, and Priority fields are automatically populated by qTest Manager, but you can edit the information in these fields as needed.

    To create custom fields or modify existing system fields, see Field Settings.

    You can automatically send email notifications to other users when test cases (or other objects) are assigned to them. For information on how to configure email notifications, see Notification Settings.
  6. Click Save.

Once you've created a test case, drag and drop it into the left navigation panel to organize it.

Enter test steps for a test case

Each test case should contain test steps that define which actions the testers need to perform during a test run. A test step defines a planned action performed by the user, alongside an expected result from the software you're testing.

To create your test steps, go to the Test Steps section at the bottom of the test case and follow these instructions:

  1. Optionally, add any preconditions you may have for this test case, select the field in the Step Description column to add a description for step 0.

  2. For step 1, enter the Step Description and Expected Result.

    You can also create parameters to call in your test steps. Use parameters to capture recurring information between tests, such as usernames and passwords that you use when testing. For more information on calling parameters, see Call a Parameter in a Test Case.

  3. Optionally, select new attachment to add an attachment to the test step.

    In the following Attachments dialog, select a file to upload, take a screenshot, or drag and drop a file to add an attachment.

  4. Optionally, add your desired information to any custom fields you've set up to record specific testing information in your steps.

    For information on how to add custom fields, see Site fields.

  5. Select Add to create the next test step.

  6. Repeat steps 2-5 to add as many test steps as you need.

  7. After you're finished adding test steps, select Save.

Generate a test case with AI (Beta)

Once you've created a requirement, your next step is to create a set of tests that ensure your software meets that requirement. Between brainstorming, writing, and reviewing, this is a pretty time-consuming process.

To save time, you can use AI to turn your existing requirements into a detailed test case with the click of a button.

Before you can use our AI test case feature, you need to turn AI integration on at the site level and then turn AI on in the project where you want to generate test cases.

To create a test case with AI, follow these steps:

  1. From Requirements, open the requirement you want to create a test case from.

  2. Go to the Create Associated Test Cases section and select Generate with AI.

  3. In the Generate Test Cases window, AI generates the title, description, and steps for 10 test cases. At this point, you can perform any of the following actions:

    • Select Regenerate to recreate the current AI-generated test cases with different wording.

    • Edit or delete the Description or Expected Result for any AI-generated test steps that need adjustment.

  4. When you're finished, mark the checkboxes next to each test case you want to save and select Add Test Cases to add the test cases to the Linked Test Cases for your selected requirement.

    Note that you can edit your saved AI-generated test cases at any point from Test Design. You can't modify or delete test cases that are linked to objects in Tosca.

Add an attachment to a test case

To add more context to your test case, you can attach files. For example, you can add a screenshot of the location where you're testing.

To add an attachment to your test case, follow these steps:

  1. In Test Design, open the test case you want to add an attachment to.

  2. Go to the Attachments tab.

  3. On the right side of the Attachments tab, you can add attachments with any of the following options:

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

    • Take a screenshot with a third-party program and use Ctrl+V to paste the file from your clipboard.

    • Drag and drop a file to the Drag and drop file here (Maximum Size 50MB) section to add the file as an attachment.

  4. After you upload the file, select Save.

Delete a test case

Maybe you've created duplicates, or maybe you've decided that a particular scenario doesn't need testing. Don't worry, you can delete test cases at any point.

Deleting a test case removes any test steps that contained the deleted test case as a called test case, as well as any test runs created from the deleted test case.

Attached requirements don't change, but any record of their link to the deleted test case is removed.

To delete a test case, follow these steps:

  1. In Test Design, select the test case you want to delete from the tree panel.

  2. Right-click the test case, and then select Delete from the menu.

    The test case is deleted.

Note that you can restore deleted test cases from the Recycle Bin.

You can't modify or delete test cases that are linked to objects in Tosca.

What's next

Still editing your test case? You may want to learn how to attach requirements, or how to save time when you reuse test cases you've already created.

Ready to start testing? Once you've prepared your test case, it's time to create test runs in the Test Execution tab, where you can start your testing and log execution results.