Updated on 2025-11-07 GMT+08:00

Performing Dialog Tests

If you already have a large number of intelligent robots and need to frequently test whether these robots function properly, you can create dialog test cases, execute them in batches, and check whether functions are normal based on the results.

Prerequisites

Some operations under the current menu are controlled by separate permissions. If related operation permissions are not configured, the corresponding operations are not supported. For details about the operation permissions that can be configured separately, see Table 1.

Procedure

  1. Sign in to the AICC and choose Configuration Center > Chatbot Management > Flow Configuration > Flow > Dialog Test.
  2. Create a test case group.

    1. Click , enter test case group information, and click . A test case group is successfully created.
      Figure 1 Create Test Case Group page
    2. Alternatively, click Batch operation and choose Generate Case to generate a test case group in the Initialize state. Click to filter existing records.
      Figure 2 Generate Dialog Case page
      Figure 3 Filter Selected Records

      The filtering function can be used only if the oifde.chatrecord.switch parameter in the configuration file is enabled.

  3. Create a test case.

    1. Click Manage corresponding to the new test case group. The Manage Test Case dialog box is displayed.
      Figure 4 Add Test Case page
    2. Click to create a test case.
    3. After a test case is created, in the Manage Test Case dialog box, click Manage corresponding to the new test case, create call content information, and click .
      Figure 5 Manage Case Details page

  4. Perform a dialog test.

    • Return to the Dialog Test page, and click Execute in the Operation column on the right of the new case group to execute the entire case group. After the execution is successful, Status changes to Finish.
    • Select some case groups, click Batch operation, and choose Execute to execute the selected case groups in batches. After the execution is successful, Status changes to Finish.
    Figure 6 Executing some case groups
    • In the Manage Test Case dialog box, select some test cases, click Batch operation, and choose Execute to execute the selected test cases in batches. After the execution is successful, Status changes to Success.
      Figure 7 Executing some test cases

  5. View the execution result and export the test report.

    1. After executing a test case group, view the number of tested cases, number of passed cases, number of failed cases, and pass rate.
      Figure 8 Page for viewing execution results
    2. Select the test case group that has been executed and click to export the test report.