Prepare Audio Samples
There are several ways to prepare the audio samples you want to use in your test cases:
-
Record your own voice
-
Use a synthesized voice
-
Upload your existing audio files
Live Chat
When using the audio recorder in Live Chat, it is possible to save the whole conversation a test set. The audio recordings are stored in a meaningful folder structure already (test set name / test case name / Step X).
Record Your Own Voice
In your voice test set, open the Voice Wizard and choose the Live Voice Recorder option.
Select folder where your audio recordings will be uploaded. We suggest to think about a folder structure how to place your audio files. For example, you can group them by test case and conversation step:
Use the Record Audio button to start the audio recording. When ready, use the Save Recording button to upload the audio file to the folder you selected before.
You can repeat this step until you have enough audio samples for your test cases.
Use a synthesized voice
In your voice test set, open the Voice Wizard and choose the Voice Synthesis option. Enter
-
the text for which to synthesize speech
-
the language of the text
-
the voices to use
-
the output folder and the output file prefix
Click the Start Voice Synthesis button to start the background jobs. You can see the recent jobs in the list below.
You can listen to the synthesized audio files - beautiful! In the File Browser you can see that there have been two audio files created in the given folder, one for each of the selected voices.
Upload your existing audio files
You can upload your existing audio files in the File Browser in the Settings menu (from the User dropdown menu).
Use the Voice Samples in Test Cases
Switch over to the Test Cases section and write a new test case including your audio samples.
Click on the Add User Conversation Step to start the test case by sending a first audio sample to the chatbot.
Click the Add Media/Voice button to add a Media/Voice resource to the Conversation Step.
Select the Send Media Attachment option from the list.
Click the File/Folder Selection link to browse the folders you placed your audio recordings to and select the audio file to send.
- *mytestcase1/step0/myrecording.wav* will use this one file
- *mytestcase1/step0/\*.wav* will use all files with wav extension in
this folder
- *mytestcase1/step0/\** will use all files in this folder
You can now see your selection in the convo designer.
Repeat this step for additional audio input files.
You can always use the Run Convo … button to let the convo run against your chatbot to check functionality.

Now head over to Step 4: Run First Voice Test Session
For a detailed walkthrough of the Botium Live Chat Recorder, watch the video below;
Comments
0 comments
Please sign in to leave a comment.