Updated on 2024-05-16 GMT+08:00

Creating a Manual Test Case

Prerequisites

You have the permission to create test cases (that is, you have other system roles except the O&M manager, viewer, and participant in the project).

Procedure

Manual test cases are used to manage test scenarios and steps. You can view manual test cases on the Testing Case > Manual Test page.

  1. Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
  2. In the navigation pane, choose Testing > Testing Case.
  3. Baseline and Test case library are displayed by default. On the Manual Test tab page, click Create Case on the left.
  4. Enter the name, description, prerequisites, and test steps as required, and click Save.

    The main configuration items of the manual test cases are as follows.

    Configuration Item

    Description

    Name

    Name of a test case (mandatory). You can describe its test scenario or function.

    Description

    Brief description of a test case. You can enter the test scope, test objectives, test policy, test methods, test tools, test data, test metrics, and test environments of the current test case.

    Prerequisites

    Prerequisites for executing the current test case.

    Test Steps

    Step description and expected result.

    Tag

    Tag for the current test case as required. Each test case can be associated with a maximum of 10 tags, which should be separated by spaces.

    ID

    Test case ID, which can be customized. If this item is left blank, a test case ID is automatically generated.

    Case Level

    Test case level based on the importance of the scenario or function. The default level is L2.

    • L0: verification of underlying functions. Each module should have 10 to 20 test cases. L0 test cases account for 5% of all test cases.
    • L1: verification of basic functions for inherited features or before iteration acceptance. L1 test cases account for 20% of all test cases.
    • L2: verification of important features for manual tests in non-regression versions. L2 test cases account for 60% of all test cases.
    • L3: verification of minor and non-important functions, and exception tests on basic and important functions. L3 test cases account for 15% to 20% of all test cases.
    • L4: verification of special input, scenarios, and threshold conditions. L4 test cases account for less than 5% of all cases.

    Module

    Module of the current test case. The module list comes from the project settings. For details, see Setting Modules.

    Version

    Version number of the current test case.

    Iteration

    Iteration to test the current test case.

    Processor

    Person who needs to complete the test task.

    Associated Requirement

    It is recommended that test cases be bidirectionally associated with test requirements. If the current test case is used to test a specific requirement and the requirement has been recorded in the CodeArts Req service, click Associate to associate the test case with the requirement work item.

    NOTE:

    Test cases can be associated only with Epic, Feature, and Story work items of a Scrum project and default Requirement work items of a Kanban project.

    Folder

    Associated feature directory. The test case is in the Other directory by default.

    Attachment

    Attachment related to the current test case. You can associate an existing file from the Files page or upload an attachment from the local PC.

    Custom Field

    Customized fields set by the user in Settings. For details, see Test Case Settings.

Searching for a Test Case

You can search for test cases by name, ID, or description.

  1. Create manual test cases by referring to Creating a Manual Test Case.
  2. In the search box above the test case list, enter a keyword of the name,ID, or description.
  3. Click .
  4. The required test cases are filtered and displayed in the list.