Once the Skills are developed, you should test these before making them available to users. The Test Bot feature helps to ensure that skill matching, the conversation flow, and execution are working as intended by simulating the user experience.
Testing the Bot
To access Bot Testing, click the Test Bot icon on the right side of the Bot Builder. This opens the Test Widget. You should test the User phrases, Prompts, Messages, Rules, Integrations, and more through chat with the bot by entering messages and receiving responses.
<image update>
Debugging your Skills
When testing Skills, you can leverage the Debug Utility to troubleshoot any issues that may occur during skill execution. The information about various conversation items of the skill, like the context of the operation, rulesets, and local/global attribute values can be viewed.
The Debug log contains the series of events inside the Bot.
The Debug page displays all the events when a skill is being executed such as the start and end of a conversation flow, success or failure of a message, the response sent, message received, and so on. The following image shows a few events as an example.
<image update>
For debugging of the Skills with Integration and to know the Web service response and request data, you can click on the event "Operation Executed".
Conversation History
All interactions between users and the bot are captured and available in the Conversation History. Using the Conversation History, you can understand the details of underlying system events. This is particularly useful to troubleshoot conversations when errors occur during skill execution.
Navigate to Conversation History.
Apply the required filters and select the conversation from the list to view the details in the Conversation Logs section.
Once the required Conversation is selected from the list, the Conversation log section is populated with Conversation details. The context at each event of the conversation is also provided as part of the event data in the conversation log.
You can view the details about the execution results of the operation, ruleset, and so on by clicking on the events.
All the system skills and small talk conversations are also captured as part of conversation history.
Below is the list of icons present and their corresponding functionalities.
Icon | Description | Purpose | |
---|---|---|---|
1 |
| Attribute | The scope of the attribute either it is Global or Local along with details like Attribute name, Assignment type, and value are defined. |
2 |
| Integration : Connections to external systems to perform actions for fulfilling the user's request involves integration. | Details of the request sent to the external web service and the response received are listed. |
3 |
| Information message | The message can be in the format of Text, Quick Replies, Card, or Image. |
4 |
| Automation Integration | Automation Workflow included in the skill conversation flow and process status. |
5 |
| RuleSet | The rule executed and evaluation status can be viewed. |
6 |
| Set Attributes | Information regarding the attributes used, transformations applied and values assigned. |
← Previous
Build and Publish bot
Next →
Developing Bot integrating with 3rd party systems