Scenarios
AI Chatbots
Integrate AI chatbots into your testing workflow.
TestDriver can be used to test AI chatbots, or any two way assertions like:
- Approval workflows
- Chatbots
- Email or SMS notifications
- And more!
This scenario is an example of how to set up and run tests for an AI chatbot using TestDriver.
Prerequisites
Before running the tests, ensure you have performed the following steps:
- If you haven’t already, signup for a Free Trial on the TestDriver website
- Install the TestDriver CLI globally using npm or just follow the VS Code Extension Setup Walkthrough:
- Run the
init
command to set up the TestDriver configuration using the API key you got when you signed up for the trial:
Now you are ready to run the tests!
Scenario overview
- Load a website with an AI chatbot.
- Type a chat message or ask a question.
- Wait for the chatbot to respond.
- Verify that the chatbot’s response is correct and meets the expected criteria.