Tutorial 3: Test Case Design

Create test cases to assess software performance.

Introduction

After defining quality metrics, it's time to create test cases. Test cases guide testers through a sequence of instructions to determine if the software meets pre-defined requirements.

Test cases are grouped into test suites. How you define test suites depends on the nature of the project. You could, for instance, group test cases based on a common application or by test type (e.g. functional tests, smoke tests, authorization tests).

If a project module contains a lot of test cases, we suggest that you create test suites based on features or functions.

Creating a test suite

Create a test suite by clicking Design in the top menu bar. On the Test Suites overview page, click the Add Test Suite button in the top right corner of the page.

A pop-up box displays. Fill in the data fields:

  • Name (required)

  • Description (optional)

Click Save to add the test suite.

Creating a test case

After creating a test suite, it's time to create test cases. On the Test Suites overview page, click the test suite Name or click the arrow button. The Test Suites Details page displays. Click the Add Test Case button.

A pop-up box displays. Add information:

  • Name
    Choose a name that clearly identifies the test case.

  • Instructions
    Instructions are logical steps a tester follows to generate test results. Specify as many test steps as needed for the test case. Make sure they are written concisely.

  • Draft
    Toggle on the switch to mark this test case as a draft.

Click Save to create the test case and place it inside the test suite.

Importing files

It is possible to import test cases in batch. Click the three dots next to the Add Test Case button to import a file (XSLX or CSV). Use the import wizard for clear guidance. 

Adding test case information

You can add data fields, files, and links to a test case. 

  • Enter test datapreconditions, and expected results.

  • Upload file attachments to provide the tester with the information they need to fulfill test cases.

  • Link predefined Requirements, Risks, and Applications.

There are two ways to add information to a test case: use the sidebar or go to the Test Case Details page. Both are described below. 

Using the sidebar to add information

Go to the Test Case Details page and click the Name of the test case. The sidebar opens and shows four menu tabs: DetailsRequirementsRisks, and Applications.

add-info-1

Add Preconditions, Expected result, and Test data with the Details tab. Select a text field and enter information. Click Save.

To link Requirements, Risks, and Applications, click a menu tab and then click a text field. A pop-up box displays.

In the pop-up box, you can search for items. Click the (+) icon to add an item to the test case. Click Save.

Using the details page to add information

Go to the Test Case Details page and click the arrow button to the right of the test case name. On the Details View page, you can see three main sections:

  • Details

  • Instructions

  • Additional 

Below the Attachments box, there are six menu tabs: Requirements, Risks, Applications, Test Runs, and Activities. If data are available, you can see Test Results, the sixth menu tab.

details-1

To add information to a section, select a field and then enter text. Click Save.

To link Requirements, Risks, and Applications, click a menu tab and then click a text field. A pop-up box displays.

In the pop-up box, you can search for items. Click the (+) icon to add an item to the test case. Click the Save button.