Updated on 2023-11-28 GMT+08:00

Filtering Test Cases

CodeArts TestPlan supports custom filtering of test cases. The following procedure uses the Testing Case > Manual Test as an example.

Using the Default Filter Criteria

  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. On the Manual Test tab page, select an option from the All cases drop-down list.

    There are two default filter criteria: All cases and My cases.

    • All cases: displays all cases in the current test plan or case library.
    • My cases: displays all cases whose Executor is the current login user.

Setting Advanced Filter Criteria

If the default filter criteria do not meet your requirements, you can customize filter criteria.

  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. Click Advanced Filterer above the test case list. The Processor, Status, Level, Creator, and Result filters are displayed:
  4. Set filter criteria as required and click Save. Test cases that meet the filter criteria are displayed on the page.

    You can also click Save and Filter. In the dialog box that is displayed, enter the filter name and click OK. The saved filter is added to the All cases drop-down list.

  5. (Optional) If advanced filter criteria still do not meet requirements, click Add Filter, select a filter item from the drop-down list box as required, and click Save and Filter.

    The filtering items are displayed on the page. Repeat step 4 to complete the filtering.