Run a chatbot test

There are two ways to test your chatbot:

If you want to test your chatbot's NLP questions, you may need to train a test model. If you just want to test keyword questions, a script, or a conversation flow, you do not need to train a test model.

External calls are live

To ensure you can test your chatbot properly, TestBot works just like a real user using your chatbot. That means any calls to third-party services are made just like they would be with a real user: if you test your "Make a booking" passage with TestBot, that's a real booking!

Run TestBot

If you want to test a passage in TestBot:

  1. Select your team in the Teams menu.
  2. Select the chatbot you want to test in the Chatbot menu.
  3. Click TestBot in the top left corner of the screen.
  4. If you want to test your chatbot's NLP responses and the Testbot displays Requires training, click Train to train a model.
    You will need to wait until the model has finished training. If you do not need to test your chatbot's NLP responses, you can start Testbot without training.
  5. Select the Conversation and Passage or logic to start from.
    A preview of the passage is displayed. You can also open the passage in a new tab.
  6. If you want to test channel-specific content, select the Channel.
    Only channels you have added to your chatbot's integrations are displayed, including channels where the integration isn't complete.
  7. If you want to test Intellimem, turn the Intellimem toggle on.
  8. If you want to start the passage with variable values set, add a value for each variable.
    You should only set values for variables that are relevant to your test. To add a variable value:
    1. Click + Variable value.
    2. Select the Name of the variable to set a value for.
    3. Type the Value you want to use for your test.
      You can see variable values update in real time in the Log panel.
  9. Click the green start button.
  10. Chat with your chatbot.

If you want to test a different passage, click the gear and select a new passage or logic to test.

Preview from the conversation flow

To test your chatbot from the conversation flow:

  1. Select your team in the Teams menu.
  2. Select the chatbot you want to test in the Chatbot menu.
  3. Open the conversation of the passage you want to test.
  4. Click the menu icon on the right of the passage or logic card you want to test.
  5. Click Preview in TestBot.
  6. Click Start Session.
    If you want to test your NLP question responses, you may need to train a model.
  7. Chat with your chatbot.

If you want to test a different passage or logic:

  1. Open the conversation of the passage or logic you want to test.
  2. Click the menu icon on the right of the passage or logic card you want to test.
  3. Click Preview in TestBot.
  4. Click Start Session.
  5. Chat with your chatbot.

Click Close when you've finished your testing.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.