Botium Asserters
These are tools used to validate various aspects of a conversation in your chatbot testing. They help ensure that the bot's responses meet specific criteria or expectations. Here you will find descriptions, examples, and usage information for all Botium asserters.
-
Media Asserters
These asserters check for media content (images, videos) in the bot's response. They can be used without parameters and will fail if no media is found. Note: Processing media responses depends on the botium connector, ...
-
Card Asserters
Some Chatbots are responding not only with text, but with grouped UI elements. If the grouping is not just visual, but has some extra function like paging, or hiding, then it is called a Card. Botium can assert the existence ...
-
NLP Asserters
Natural language enabled chatbots are using some kind of NLP engine in the background to recognize intents and entities for the user input. This information is not shown to the user directly. It may make sense to assert for t...
-
JSON Asserters
BotiumScript offers various assertion types to validate chatbot responses, ensuring that they meet expected criteria. This article will cover two essential JSON asserters: JSON_PATH and JSON_PATH_COUNT. Each section will prov...
-
Form Asserters
This asserter checks for the presence of forms in the bot's response. It can be used without parameters and will fail if no forms are found. Note: Processing media responses depends on the botium connector, such as Direc...
-
Text Asserters
You can globally set how to assert responses using the SCRIPTING_MATCHING_MODE capability. Text Asserters allow you to extend or override this behavior for each response. The matching modes include wildcard, regexp, include, ...
-
Reply Asserters
Bot Reply Consumed This asserter is used to verify that all bot replies have been processed. This will make sure that there are no unconsumed bot replies in the processing queue. Example Botium Script BOT_CONSUMED will make ...
-
Hyperlink Asserters
Chatbots are responding often with references to other sources. This might be just the link to a webpage, an image or a button. You don’t want to display the user an 404 page or an error. To cover if those links exist we crea...
-
Dialogflow Asserters
There are six dialogflow asserters available. Choose the one you need based on the descriptions given below: Available Asserters Dialogflow Context Existence Asserter: Checks if a specific context exists in...
-
Asserting with SQL Database Content
Botium can query SQL databases when testing conversation flow and assert the results and content of the database. Currently supported SQL database connectors are MySQL, PostgresQL, Microsoft SQL Server, and Oracle (experiment...
-
IBM Watson Asserters
There are eight dialogflow asserters available. Choose the one you need based on the descriptions given below: Available Asserters IBM Watson (V1) Action Asserter: Checks if a specific action exists in IBM ...
-
Other Asserters
HTTP/JSON Endpoint, Email and SMS Asserters. Parent topic: Botium Asserters Chatbot HTTP/JSON Endpoint Asserter Imagine you want to verify the content of shopping basket within the conversation flow test of an e-commerc...
-
Using Registered Asserters
For a Test Project, you can configure the list of asserters to add in the Involved Registered Components(s) field. Note: In case you activated the Include in Default Component Set field when registering the asserter...
-
Botium Enterprise Asserters
Botium includes asserters typically used in test strategies for chatbots: Asserting Hyperlink Existence and Availability in a chatbot response Asserting with Custom HTTP/JSON API Requests Asserting SQL Dat...