How to: Test

Discover

What are resources?

Resources are the individual components that work in harmony to create the AI conversations you'll construct in Dialog Studio:

  • Bots

  • Intents

  • Slots

  • Data requests

  • Actions

  • Lifecycle hooks

  • Journeys

The pantheon of Dialog Studio resources often get their own place in your workspace menu.


Your selected NLP goes to work whenever testing a conversation flow. Therefore, create a build before using the Test feature with Bots or Intents.

Test a bot

Run through an entire conversation with your bot using the bot's Test option:

  • Attach all intents for testing to your bot

  • Configure default behaviors, if needed

  • Select Test to open chat widget and converse with your bot

Want to set up context or other settings or troubleshoot your test chat? See Configure and debug


Test an intent flow

To run through a specific intent's conversation, ensure you create a build through a bot first:

  • Attach intent to a bot

  • Go to bot's Deployment tab

  • Review & build > Click Create a build

  • Navigate back to intent > select flow

  • Click Test option on the canvas builder

Want to set up context or other settings or troubleshoot your test chat? See Configure and debug


Test a data request, action, or lifecycle hook

  • Choose resource > Select Test option in upper right of resource's page

  • Click Run test at bottom of panel

Toggle on Dynamic setting under applicable Headers to test Dynamic headers in your test widget.


Configure and debug

Within a bot or intent flow's Test chat panel, you may either select the gear icon to set context or other settings for your test, or select the bug icon to review all events from your test transcript for troubleshooting.

  • Customize data: If you have used context attributes in your messages, select the Settings of the Test chat to enter values into the corresponding fields to test your flow. Simply enter data into an available context attribute field and click Save and refresh.

  • Event details: To debug events in your intent flow, select a bot message in the transcript window. Click the expand caret on any item to view the NLU's details.

Last updated