Help Center/ CodeArts TestPlan/ Getting Started/ Executing a Test Plan and Viewing the Report
Updated on 2024-10-11 GMT+08:00

Executing a Test Plan and Viewing the Report

This section describes the general testing procedure in CodeArts TestPlan, as outlined in figure 1.

Figure 1 Procedure

Accessing the CodeArts TestPlan Homepage

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner of the page and choose Developer Services > CodeArts TestPlan from the service list.
  3. Click Access Service.

Creating a Project

  1. On the navigation bar, click Homepage.
  2. Click Create Project.
  3. Hover the cursor over the Scrum card. Click Select to use this template to create a project.
  4. Set Project Name to Scrum01 and retain the default values for other parameters.
  5. Click OK to access the project.

Creating a Test Plan

  1. In the navigation pane, choose Testing > Testing Plan.
  2. Click Create Plan. Enter the plan name, processor, and plan period by referring to Table 1. Set the version to be tested, sprint, and description, if needed. Click Next.

    Table 1 Mandatory fields for creating a test plan

    Parameter

    Description

    Example Value

    Name

    Name of a test plan.

    Describe the test scenario or function.

    Enter 3 to 128 letters, digits, spaces, and special characters (-_/|*&`^~;:(){}=+,×$...'!@#%.\'[]<>?"?). Do not start with a space.

    Plan01

    Processor

    Select a person to handle the test plan.

    hwstaff_001

    Plan Period

    Select the start date and end date of the test plan.

    June 3, 2024 to June 30, 2024

  3. Select an execution mode. For example, Manual Test. Deselect other execution modes, and click Save.

Creating a Manual Test Case

  1. On the Testing > Testing Plan page, hover the cursor over the test plan Plan01, and click Design.
  2. Click the Manual Test tab, click Create Case, enter the information by referring to the figure below, and click Save.

Creating and Executing a Test Suite

  1. On the Testing > Testing Plan page, hover the cursor over the test plan Plan01 created in step 1, and click Execute.
  2. Click Create Suite and enter a test suite name, for example, Suite01. Click Add Case or Add now, select the test case created in step 1, click OK, and click Save.
  3. In the Operation column of the test suite, click . In the displayed window, set the step results, case result, and suite result, click Save, and click in the upper right corner to close the window.

Viewing the Test Report

From a quality report, you can learn about the execution status of the test plan, such as the pass rate of test cases and the number of defects.

  1. On the Testing > Testing Plan page, hover the cursor over the test plan Plan01 created in step 1, and click Report. The report page is displayed, showing the test plan progress.
  2. Click Download Quality Report to download the quality report.