Help Center> CodeArts TestPlan> FAQs> Why Is the Status of Test Cases in a Test Plan Inconsistent with That in a Test Case Library?
Updated on 2023-04-23 GMT+08:00

Why Is the Status of Test Cases in a Test Plan Inconsistent with That in a Test Case Library?

Symptom

In CodeArts TestPlan, after a test plan is created and all test cases are executed, the status of the test cases in a test plan is inconsistent with that in a test case library.

Root Cause

The test case status does not depend on the test case library or test plan.

According to the synchronization rule for the result and status of test cases in the test case library and test plan, the test case library records the latest result of test cases, which may be generated when a test case library is executed or when a test plan is executed.

If test cases in the user library are added to a test plan, then:

  • Test cases are executed in the test plan, and the execution result is synchronized to the test case library.
  • Test cases are executed in the test case library, and the execution result is not synchronized to the test plan.
  • The status of test cases is updated in the test plan, and is not synchronized to the test case library.
  • The status of test cases is updated in the test case library, and is not synchronized to the test plan.