Creating Test Cases

Create test cases manually, import them from BDD feature files, or leverage AI to auto-generate test cases. This flexibility helps teams build and manage test cases based on their preferred workflow.

Creating New Test Cases

The Create New Test Case screen provides a unified interface that streamlines the process of test case creation. It allows you to create test cases, manage requirement linking, associate test suite, plan execution, and link defects, all at the time of test case creation.

To create a new test case, perform the following steps:

  1. Go to the Test Cases module.

  2. Click New.

  3. Enter Test Case Details: Fill all required fields.

  4. Link Requirements (Optional): Link requirements to the test case by:

    • Selecting requirements from the list.

    • Entering the Requirement Entity Key.

  5. After entering the test case details:

    • Click Create to save the test case.

    • Click Plan Executions to link the test case to a Test Suite and plan its execution.

  6. Plan Executions:

    Note

    This section is visible only for e-Signature disabled projects.

    • Plan execution of the newly created test case by:

      • Creating a New Test Suite

      • Linking an Existing Test Suite

    • Link the new test case to a test suite or link and execute it directly.

      • Link Test Suite and Close

        Links the test case to the selected Test Suite and closes the screen.

      • Execute

        Opens the execution screen to run the newly created test case within the linked Test Suite.

    The system saves the test case and redirects to the Test Case list view, with the new test case added at the end.

Entering Test Case Details

System Fields

The System Fields section contains standard fields for test case definition:

Table 15. System Fields

Field Name

Description

Summary

Name of the Test Case

Priority

Assign a priority level: Minor, Major, Blocker, Critical, or Trivial.

Labels

Choose one or more labels to classify the test case.

Status

Select from: New, Approved, In Progress, Ready to Review.

Owner

Assign an owner from users with access to the project.

Test Case Category

Categorize as Regression, Performance, Security, Functional, etc.

Estimated Time

Specify the estimated execution time in HH:MM:SS format.

Maximum: 99,999 minutes (1,666 hours).

Description

Add a detailed description in plain or rich text.

Folder Path

Auto-populated based on the creation location. Can be manually updated.



User-Defined Fields (UDFs)

  • Custom fields added to the Test Case module appear under User Defined Fields.

  • UDFs can include look-up lists, multi-lookup lists, and cascading values.

  • Mandatory cascading fields require selecting both parent and child values.

  • UDFs can be configured under Manage Fields in Customization.

Adding and Editing Test Steps

Test Steps define the actions and expected outcomes for test execution. To add or edit test steps, perform the following steps:

  1. Go to the Test Steps section.

  2. Click the Expand icon for full-screen view.

  3. To add a step:

    • Click the Edit icon or press TAB to navigate.

    • Click the Cog (⚙️) icon and select Insert Row for a new step.

  4. Enter the Step Description Input Data Expected Outcome UDF.

  5. Repeat to add additional steps.

Shareable or Copied Steps

  • Insert Shareable Test Case: Click the Cog (⚙️) icon, select shareable test case and link it.

  • Copy Steps from Existing Test Case: Click the Cog (⚙️) icon, select steps and click Copy or Copy and Close.

  • The + icon can also insert shareable or copied steps.

User-Defined Test Step Fields

  • Additional UDF columns appear beside default fields if added in Customizations.

  • Column arrangement changes are reflected across all relevant screens (Execution, Detail, Version, Exploratory Testing).

Editing Steps

  • Hover over a step field and click the Edit icon to enable inline editing.

  • Press tab or click outside to save changes.

Entering Risk Analysis Fields

Note

This section is visible only if you have enabled Risk Analysis feature from General Settings under Projects.

  • Enter: Risk Type, Risk Category, Likelihood, Impact.

  • The system calculates Risk Priority Number and Extent of Testing, helping prioritize test cases.

Planning and Executing New Test Cases

Planning Test Executions

Plan Executions help streamline test execution. Add a new test case to an existing test suite or create a new test suite and schedule its execution.

Create Test Suite

Note

Get Create Suite, Link Test Case, Link Test Suite permissions to create a new test suite.

On clicking Create Test Suite, the creation screen opens. The entity key of the newly created test suite is displayed at the top. Click the entity key to go to the test suite. All test cases linked to the Test Suite are listed in the Test Cases section.

QPro_TC_Create_TS_.png

To create a test suite, perform the following steps:

  • Enter test suite details.

  • Associate a Folder Path

  • Link one or more Releases, Cycles, and Platforms.

  • By default, Release and Cycle are auto-filled from the Test Case and owner defaults to the logged-in user.

  • You can select multiple values in the Release, Cycle and Platform. The Release and Cycle values are inherited from the Test Case.

Publication date: