Botium in a Nutshell, Part 3: Automating Chatbot Tests

Connecting to your Chatbot

{
"botium": {
"Capabilities": {
"PROJECTNAME": "Directline3 Plugin Sample",
"CONTAINERMODE": "directline3",
"DIRECTLINE3_SECRET": "my-directline-secret",
"DIRECTLINE3_WEBSOCKET": true,
"DIRECTLINE3_POLLINGINTERVAL": 1000
}
}
}
  • directline3 for Microsoft Bot Framework Bots hosted on Azure
  • watson for chatbots developed with IBM Watson
  • dialogflow for chatbots developed with Google Dialogflow
  • simplerest for chatbots publishing an HTTP/JSON endpoint
  • alexa-smapi for Alexa skills (with the Skill Management API)
  • alexa-avs for Alexa skills on End-To-End-Level (Text-To-Speech and Speech-To-Text conversion)
  • webdriverio for end-to-end tests on user interface level (chatbots published as website widget)
  • And more …
> botium-cli emulator --config path/to/botium.json
Botium Box Live Chat

Test Case Execution

  • a couple of convo and utterances files, a test set
  • a valid set of capabilities for connecting to your chatbot

Option 1: Botium CLI

> botium-cli run --config path/to/botium.json --convos path/to/files

Option 2: Botium Bindings

Option 3: Botium Box Quickstart Wizard

Botium Box Quickstart Wizard

Frequently Asked Questions

--

--

--

Co-Founder and CTO Botium🤓 — Guitarist 🎸 — 3xFather 🐣

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Invoke AWS Lambda With Another Lambda Function With Node.Js

How To Build Property Management Software From Scratch

Verify None value in Robot Framework

Let’s talk open source.

MongoDB Introduction

Welcome to the OpenCV Guide Part-1

What Game Jams Have Taught Me About Scrum Teams

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Florian Treml

Florian Treml

Co-Founder and CTO Botium🤓 — Guitarist 🎸 — 3xFather 🐣

More from Medium

Codeless Automation Testing: What, Why & How?

Login automation using Selenium WebDriver: Tutorial

Automation Testing Tutorial: A Starter’s Guide With Example

Mobile App Security Testing — Static Analysis Overview