Help Center> CodeArts PerfTest> User Guide> PerfTest Case Management> Directory Management of Test Cases
Updated on 2024-06-06 GMT+08:00

Directory Management of Test Cases

A test case directory is a display structure for organizing and managing test cases in a test project.

Prerequisites

A PerfTest project has been created.

Creating a Test Case Directory

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Click the name of the desired PerfTest project to go to the details page.
  3. On the Cases tab, create a directory.

    • Create a case directory in the root directory.

      Click the arrow on the right of Create Case. Click Create Directory from the drop-down list and enter the directory name.

      Figure 1 Creating a case directory in the root directory
    • Create a subdirectory in an existing directory.

      Click next to an existing directory, choose Create Directory from the drop-down list, and enter the directory name.

      Figure 2 Creating a subdirectory in an existing directory

Modifying a Test Case Directory

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Click the name of the desired PerfTest project to go to the details page.
  3. On the Cases tab, view the created case directory structure on the left of the page.
  4. Click next to the directory to be modified, and choose Edit from the drop-down list.
  5. Enter the new directory name in the text box and click another position on the page. The directory name is automatically saved.

Deleting a Test Case Directory

  1. Log in to the CodeArts PerfTest console and choose PerfTest Projects in the left navigation pane.
  2. Click the name of the desired PerfTest project to go to the details page.
  3. On the Cases tab, view the created case directory structure on the left of the page.
  4. Click next to the directory to be deleted, choose Delete from the drop-down list, and delete the directory as prompted.