Updated on 2024-05-16 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 or All drop-down list.

    • 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.
    • Unassociated with test suites: displays test cases that are not associated with any test suite in the test execution.

You can click the two drop-down list boxes and filter all cases, your test cases, or test cases that are not associated with test suites.

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 Filter above the case list. Common filter criteria are displayed on the page.
  4. Set filter criteria as required and click Filter. 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 field from the drop-down list box as required. The filtering field is displayed on the page. Repeat 4 to complete the filtering. You can add custom filter fields for advanced filtering.