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

We Are All Makers: Blog Winners

How to get the most bang for your buck when testing software

4.5 C++ Language Quick Start

What is OAuth2 and how to implement it (coding bootcamp series)

9 best tools for working with Microsoft SQL Server

Linux containers & namespaces

How to ask a question?; Get answers quicker!

The frustration of working alone!

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

Login automation using Selenium WebDriver: Tutorial

Automation Testing Tutorial: A Starter’s Guide With Example

Selenium Grid 4 setup and usage

Selenium Grid Setup with Docker

Grid Snapshot