• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Cyara

Cyara

Cyara Customer Experience Assurance Platform

  • Login
  • Contact us
  • Request a demo
  • Login
  • Contact us
  • Request a demo
  • Why Cyara
    • AI-Led CX Assurance Platform
    • AI vision for CX
    • Cyara partner network
    • Cyara Academy
  • Solutions
    • Transform
          • TRANSFORM – Drive CX Change

          • Functional, regression, & objective testing | Cyara Velocity
          • Performance testing | Cyara Cruncher
          • See all use cases >
          • Cyara platform - Transform - Drive CX change
    • Monitor
          • MONITOR – Assure CX Journeys

          • CX monitoring | Cyara Pulse
          • Telecom assurance | Cyara Voice Assure
          • CX & telecom monitoring | Cyara Pulse 360
          • Call ID line assurance | Cyara Number Trust
          • Agent environment assurance | Cyara ResolveAX
          • See all use cases >
          • Cyara platform - Monitor - Assure CX journeys
    • Optimize
          • OPTIMIZE — Leverage AI for CX

          • Conversational AI optimization | Cyara Botium
          • Generative AI assurance | Cyara AI Trust
          • See all use cases >
          • Cyara platform - Optimize - Leverage AI for CX
    • Connect
          • CONNECT — Assure WebRTC CX

          • WebRTC optimization | Cyara testRTC
          • WebRTC monitoring | Cyara watchRTC
          • WebRTC quality assurance | Cyara qualityRTC
          • See all use cases >
          • Cyara platform - Connect - Assure WebRTC CX
  • Resources
    • CX Assurance blog
    • Customer success showcase
    • CX use cases
    • Events & upcoming webinars
    • On-demand webinars
    • Resource library
    • Customer community
  • About Us
        • About Cyara

        • About Cyara
        • Leadership
        • Careers
        • Legal statements, policies, & agreements
        • Services

        • Cyara Academy
        • Consulting services
        • Customer success services
        • Technical support
        • News

        • CEO’s desk
        • Press releases
        • Media coverage
        • Cyara awards
        • Partners

        • Partners

Blog / CX Assurance

February 3, 2021

Beginners Guide to Automated Voice App Testing

Florian Treml, Senior Director, Engineering

This article was originally published on Botium’s blog on February 3, 2021, prior to Cyara’s acquisition of Botium. Learn more about Cyara + Botium

This guide suggests best practices, infrastructure, and tools to ensure your voice app continues to deliver outstanding user experience.

two robots with megaphones and sound waveforms

Questions when testing voice apps

Application of the suggested practices helps answer the questions:

  • Is my voice app following the designed conversation flow? Is the conversation flow working as expected?
  • How does my voice app work under real-life conditions? Does it handle low audio quality? Does it handle slow network connections?
  • Is my voice app available 24×7, or are there any interruptions in service?

The Art of Challenging Chatbots

The challenges when testing chatbots, especially voice-enabled ones, are different ones than when testing apps with a graphical user interface: while a graphical user interface restricts the possible user interactions by the controls it offers, with natural language, the number of possible user inputs is limitless. Additional when using voice as user input there are again more variables to take into account: the individual nuances in voices, the quality of the microphone, the background noises surrounding the speaker, and more — when testing a graphical user interface, a button click is always perceived the same by the application, regardless of who actually clicked it.

The platforms behind powerful voice applications are still evolving and are subject to constant improvements — which means that developers have to rely on components that they do not own and the possible influence is limited.

Testing the Voice Conversation Flow

Botium provides you with all the tools required for implementing a comprehensive, holistic test strategy for your voice apps. You can read about Botium and the background on testing conversation flow in the official Botium documentation.

We will use Bring! Shopping List as an example of a voice app to test. It is published as Alexa Skill, and we can use the Botium Connector for Amazon Alexa with AVS for simulating voice input and output with Botium.

For details about the presented steps and tools please take a look at the Botium Wiki!

Record Test Cases

The quickest way to get started is to use the Live Chat in Botium Box to record your own voice with your microphone. You can immediately see and listen to the response of your voice app.

Depending on the technology of your voice app, both text and audio response are shown or either of them.

chat window screenshot

You can save the conversation as a test case and make some changes afterward.

  • Refining input and output text and audio
  • Using wildcard matching or utterance lists instead of full text
  • Add additional test steps or asserters

Synthesize Test Cases with Text-To-Speech

Instead of recording your own voice for the test cases, you may decide to instead (or additionally) use synthesized voice samples. Botium has its own Text-To-Speech and Speech-To-Text platform based on the best open source and cloud engines available — Botium Speech Processing.

Test cases are showing plain text now instead of audio input:

Eliminating Flakiness — Homophone Mappings

A typical problem when testing voice apps is that audio transcriptions, especially for low-quality audio, can be rather unstable — in test automation, we usually rely on hard facts (fixed text assertions), and this will lead to increased flakiness of the test results.

In this example, you can see that instead of okay milch ist auf deiner liste the transcription says okay milch is auf seiner liste — this one character difference will make a test case fail:

Botium provides the option to specify homophone mappings to deal with audio snippets that are often misinterpreted by the Speech-To-Test engine.

Homophones map screenshot

Test cases use these mappings to qualify transcription results as success or failed.

Convo result screenshot

Testing Real-Life Scenarios

Using your own microphone in front of your laptop might be a good starting point, but in real-life voice apps are used in another way — with smartphones, with home automation or entertainment devices like Alexa or Google Home, in a car. To come up with meaningful End-2-End test cases for these scenarios you will have to make your test data similar to those scenarios.

  • Add background noise on various levels
  • Pitch volume up or down
  • Simulate various levels of distance
  • Simulate technical restrictions like GSM phone line or low bandwidth
  • Simulate otherwise bad audio quality like interruptions or various levels of silence
  • … you name it …

In Botium Box you can apply various effects for simulating real-life usage scenarios to your own clean recordings or synthesized audio samples.

Voice effect screenshot

Continuous Monitoring

The recipe for ensuring the availability of your voice app is actually rather simple — all you need is:

  • a smoke test for checking basic behavior (for instance, just sending a simple hello to the voice app and listing for a response)
  • a scheduler to run the smoke test every few minutes
  • a notification mechanism to inform you in case of failures

With Botium, everything you need is coming out of the box.

Test execution settings screenshot

Summary

Now you know what is needed for automated testing of your voice app, you may give Botium a try, or you can stick to the free and open-source plan with Botium Core.

  • Record your own voice or use a synthesized voice
  • Apply audio effects for real-life simulation
  • Conversation flow testing with Botium

Read more about: Automated Testing, Chatbot Testing, Chatbots, Cyara Botium, Voice Quality

Start the Conversation

Tell us what’s on your mind, and learn how Cyara’s AI-led CX transformation can help you delight your customers.

Contact Us

Related Posts

Load testing tools

July 17, 2025

How Load Testing Tools Power High-Performance Telecom Environments

Learn how you can assure CX performance at scale and deliver quality interactions at all times with automated load testing tools.

Topics: Automated Testing, Contact Centers, Customer Experience (CX), Load Testing, Performance Testing, Telecoms

agentic ai-powered CX assurance

July 15, 2025

Cyara Ushers in Next Era of Agentic AI-Powered CX Assurance with Unified Platform

Learn how Cyara is ushering in the next era is agentic AI-powered CX assurance with the latest product updates and releases.

Topics: Automated Testing, Contact Centers, Customer Experience (CX), CX Assurance

Cyara vs the competition comparison

July 10, 2025

Cyara vs. The Competition: A Comprehensive Comparison of Voice Quality Testing & Monitoring Solutions

In this Cyara vs. the competition comparison, learn how Cyara's solutions outperform other solutions with end-to-end, AI-powered CX assurance.

Topics: Automated Testing, Contact Centers, Customer Experience (CX), In-Country, IVR testing, Voice Quality

Footer

  • AI-Led CX Assurance Platform
    • Cyara AI Trust
    • Cyara Botium
    • Cyara CentraCX
    • Cyara Cloud Migration Assurance
    • Cyara Cruncher
    • Cyara Number Trust
    • Cyara probeRTC
    • Cyara Pulse
    • Cyara Pulse 360
    • Cyara qualityRTC
    • Cyara ResolveAX
    • Cyara testingRTC
    • Cyara testRTC
    • Cyara upRTC
    • Cyara Velocity
    • Cyara Voice Assure
    • Cyara watchRTC
  • Use cases
    • Agent desktop testing
    • Cloud contact center monitoring
    • Contact center number test types
    • Contact center testing
    • Continuous testing
    • Conversational AI testing
    • CX monitoring
    • DevOps for CX
    • Email & SMS testing
    • Functional testing
    • Incident management
    • IVR discovery
    • IVR testing
    • Load & performance testing
    • Omnichannel testing
    • Outbound call testing
    • Regression testing
    • Voice biometrics testing
    • Voice of the customer
    • Voice quality testing
    • Web interaction testing
  • Resources
    • CX Assurance blog
    • Customer success showcase
    • Events & upcoming webinars
    • Resource library
    • On-demand webinars
    • Cyara portal & support site access
    • Customer community
  • About us
    • About Cyara
      • About us
      • Leadership
      • Careers
      • Cyara awards
      • Legal statements, policies, & agreements
    • Services
      • Cyara Academy
      • Consulting services
      • Customer success services
      • Technical support
    • News
      • CEO’s desk
      • Press releases
      • Media coverage
    • Partners
      • Partners
      • Integration & technology partners
      • Platform Integrations
  • LinkedIn
  • Twitter
  • YouTube

Copyright © 2006–2025 Cyara® Inc. The Cyara logo, names and marks associated with Cyara’s products and services are trademarks of Cyara. All rights reserved. Privacy Statement  Cookie Settings