Test your Power Virtual Agents bot

As you design your bot in Power Virtual Agents for Customer Service, you can use the Test bot pane to see how the bot leads a customer through the bot conversation.

To help you find and fix unexpected behavior, you can enable tracking between topics to take you through the bot conversation step-by-step, and go to the corresponding node in the authoring canvas.

Prerequisites

Test a topic in the Test bot pane

  1. If the Test bot pane is hidden, open it by selecting Test your bot.

    The Test your bot button is at the bottom of the side navigation pane

  2. It's a good idea to select Reset at the top of the Test bot pane to clear previous conversations. Clearing previous conversations makes it easier to see the flow of the topic you want to see without getting confused by previous conversations.

    Click Reset at the top of the Test bot pane to clear conversation history

  3. At the Type your message prompt at the bottom of the Test bot pane, enter a trigger phrase for the topic.

    The trigger phrase starts the topic's conversation, and the Test bot pane displays the bot responses and user response choices you specified.

  4. Continue the conversation, testing that it flows in the intended as designed in the topic.

  5. Select a response in the Test bot pane, which will take you to the response in the conversation editor for that topic. The authoring canvas displays highlighted nodes in green.

Select any response in the conversation to see the authoring canvas highlighted to that response

You can return to the authoring canvas for the topic at any time to revise it's conversation path. The Test chat pane will automatically refresh itself when you save changes to a topic.

Track through the topic's conversation path

As you fine-tune your bot, it can be useful to enable tracking between topics so you can follow through the conversation path step by step.

  1. If the Test bot pane is hidden, open it by selecting Test your bot.

    The Test your bot button is at the bottom of the side navigation pane

  2. At the top of the Test bot pane, set Track between topics to On.

    Switch the track bettern topics toggle at the top of th test bot pan

  3. Enter a trigger phrase for the topic you want to check, and then continue testing the conversation.

  4. As you move through the conversation in the Test bot pane, the authoring canvas highlights the current place in the conversation path. The authoring canvas displays highlighted nodes in green.

  5. To navigate to an earlier place in the conversation path in the authoring canvas, select it in the Test bot pane.

If the conversation path in the Test your bot pane moves from one topic to another topic, the authoring canvas refreshes and moves between topics to the appropriate highlighted nodes.