Updated on 2023-09-20 GMT+08:00

Managing Chatbot Test Cases

Prerequisites

You have configured the dialog flow and chatbot by referring to Configuring an Appointment Chatbot (Task-oriented Chatbot).

What are the benefits of managing test cases?

You can test conversations in batches with automated texts to verify that the chatbot's responses are meeting expectations, and to reduce the workload of verifying that the corpus is correct.

Procedure

  1. Choose Configuration Center > Flow Configuration > Intelligent IVR.
  2. Choose Training Check > Dialog Test. Click Create.
  3. Enter the test case group name, for example, Ticket Booking Chatbot, select a chatbot, and set the calling number.

  4. Click Save.
  5. Click the link in the Test Cases column corresponding to the new test case group. The Manage Test Case page is displayed.
  6. Click Create and enter the case name.
  7. Click Manage Case Details. The details page is displayed.
  8. Click Add and set the parameters.

    If a large number of questions need to be tested, click Download Template to obtain a batch template, enter test case information in the template, and click Import to add test cases in batches.

  9. Click Confirm. On the Add Test Case page, click Save.
  10. On the Manage Test Case page, select the desired test case and click Execute Test.

    The system then automatically executes the test case in the activated domain and generates the test result.

For a failed case, you can click Call Details to view the actual response text or click the flow link in the Flow Track column to view the session track.