Turn on page audio
1
Open the test
Open the test and select the Settings tab
2
Enable listening
Under Voice & Audio, select Let the agent hear page audio
3
Save the test
Save the test
What the agent hears
With the setting on, QA.tech records the audio the page plays from the moment it loads:- The other side of a call made with WebRTC, such as a voice agent or a LiveKit call
- Playback from
<audio>and<video>elements, such as recordings and voice messages
Speak into the microphone
The agent speaks into the browser microphone with text-to-speech. Write the lines it should say in the test steps. No setting or config is needed. To play a specific recording into the microphone instead, such as a real voice sample or background noise, create an Audio Input config and add it to the test. Audio Input accepts audio files up to 250MB. WAV works best for speech. A camera video also plays its audio into the microphone while the clip is showing.Write a voice test
In the test steps, describe:- What the agent should say, one turn at a time, and the persona or tone to use
- What each reply from the page must contain
- When to press play, if the audio comes from a player on the page
Join the call. Say “Hi, I’d like to book a table for two tomorrow at 7 pm.” Check that the reply confirms the date, the time, and the number of guests.
Review what the agent heard
In the test result, each Listen action shows the transcript of what the agent heard, how long the audio was, the reply time for calls, and a player for the recorded audio. Each spoken turn shows the text the agent said, with its own player.Limitations
- Voice & Audio is available for web tests only. Mobile app tests have no microphone input. See Mobile App Testing.
- The agent gets a transcript of the speech it heard, not the sound itself, so it cannot check tone, voice quality, or sounds without speech, such as music.