With Botium, you can separate conversation structure from conversation content using Utterances. This promotes cleaner and more manageable test cases by distinguishing the "what" (content) from the "how" (conversation structure) of your bot's responses. Utterances also enable you to create multilingual conversations or alternative messages (like ‘bye’ and ‘goodbye’).
Example Utterance - UTTERANCE EDITOR
Understanding the UI
-
UTT_NAME: The name of the utterance list is shown top-left of the editor and can be updated at any time by simply clicking anywhere on the text.
-
User Examples # Click the + button to add user examples.Note:
- Click the Pencil Icon to edit the utterance name
- Click the Trash Icon to delete any utterance
-
PARAPHRASE IT! Use the Botium paraphraser tool if you would like Botium to create additional utterances based on the examples you have given. You can then choose to use or discard any of the suggestions as you wish. After you make your decision click the ADD or CANCEL button to return to the main editor.
- Save: Click the SAVE button to finalize your list.
Example Utterance - SOURCE EDITOR (Botium Script)
USER_HELLO
hi
hello
nice day
#me
USER_HELLO
#bot
Hi!
#me
bye
#bot
Goodbye!