All guides

CX testing

CX tests call your phone lines on a schedule and check that they still sound and behave the way they should.

CX tests call your phone lines on a schedule and check that they still sound and behave the way they should.

What CX tests are for

Cerverus is a CX assurance service: a test confirms that a phone line is up and still plays what it should. A test built from a discovered IVR checks, on every run:

  • the line answers, and how long it took (no answer, busy, rejected or a call that drops fails the test, and the result says which); by default it must answer within 15 seconds;
  • every prompt on its path sounds like the recording made at discovery;
  • no prompt goes silent;
  • each prompt starts in time: slower than twice what discovery measured fails, and so does a start or an answer clearly slower than this test's own recent runs ("usually 1.1s");
  • each prompt is about as long as it was;
  • call quality: the carrier's score of the IVR's audio (MOS, from 1 bad to 4.5 excellent). Below the limit (3.5 by default) it is shown as a warning for now, not a failure, while the score is being checked against real calls. A prompt that is very quiet or distorted is also flagged as a warning.

A test does not judge the content of a prompt: it does not know what a balance, a rate or an opening hour should be. A prompt that reads out changing data (an amount, a percentage, a date, or the answer after the caller entered a number) is marked changing data when the test is built: it is checked only for being said, in time, not compared with the recording. You can switch this per Listen step in the test case. Checking the meaning of what is said is what AI agent tests are for (below).

The call's own result is the first row of a run's steps, named "Call": answer time, the quality score and why the call ended. The limits are in the test case: "Line answers within", "Slower than usual" and "Min call quality (MOS)".

Where to find it

Open CX Testing (under CX Assurance). The CX Testing tab has five sections: Test cases, Logs, Audio Library, Test schedules and Alerts. A single test case is also called a validation in some buttons ("New Validation").

Test cases

A test case is a script for one call:

  • listen to a prompt and compare it with the expected audio;
  • press keys, or say something with an AI voice;
  • enter a value (for example an account number from discovery);
  • wait, then hang up.

Each listen step can check that the prompt sounds like the expected audio, that the line didn't go silent, that the IVR answered quickly enough, and that the prompt was about the right length. These checks don't use AI. You can optionally turn on AI checks, which transcribe each prompt to catch the IVR's own error messages. The editor shows the extra cost.

Press Run to call now. A test case marked Active also runs on its schedules. Switched off, it is kept and can still be run by hand, but never dials on its own.

Building tests from a discovered map

  • "New test from a discovered IVR" builds a test case from one path through a map you made with Discovery. Expected audio, timings and values come from the map.
  • Draft with AI reads the whole map and suggests a set of useful tests (up to 12), with a name and a reason for each. Drafting can take up to a minute.
  • AI drafts are created switched off. Nothing dials until you open a draft, review it and set it Active. A path that already has a test is skipped.

Testing an AI agent

If the number is answered by a voice AI agent (a bot that talks, not a keypad menu), use New AI agent test in Validations. The agent says something different on every call, so instead of comparing audio, an AI judge checks the meaning of what it said.

  1. Enter the agent's phone number. Start from a template, or describe what to test in plain words and press Draft with AI: it fills in the test for you to review (nothing is saved until you press Save). Templates: (reschedule an appointment, order status, caller asks for a person, someone asks for another customer's data, out-of-scope question, upset caller).
  2. Fill in the conversation, one row per turn: what the caller says, optionally other ways to say it (each run picks one), what the agent should do and what it must not do, in plain words, like "asks for my date of birth".
  3. Add a checklist for the whole call: Must, Should or Must not items, each with the alert level it raises when it fails (P1, P2 or P3). Use "Must not" with P1 for things that should never happen, such as sharing another person's details.
  4. Save, run it once, then put it on a schedule.

There are two styles. Script: you write the caller's lines, the same check every run, best for regression tests. Scenario: an AI caller with a goal ("move Tuesday's cleaning to Thursday"), a personality (calm, in a hurry, confused, upset) and facts it shares only when asked talks to the agent freely, every run is a different conversation, which finds what a script misses. A scenario is always checked on whether the goal was achieved, plus your checklist. The AI caller answers 2–4 seconds after the agent stops talking.

Checklist items can be written either way: "must not: asks for a card number" and "must: never asks for a card number" mean the same thing.

A run shows each check as Pass, Fail or Unclear with the agent's own words it rests on, and the conversation with how long the agent took to answer each time. The agent not answering or staying silent is P1; a failed check raises its own level; slow replies and unclear checks are P3. If the AI judge or speech-to-text is down, the run is marked "Not scored" and never counts as a failure. Each account can run a limited number of AI agent tests per day; the editor shows how many are used today. Cerverus sets the limit, ask support to change it. ×3 next to Run starts three variations at once: other phrasings of each line, and for a scenario, the caller in other moods.

Schedules

In Test schedules, pick a test case and choose a fixed interval (every N minutes) or a cron schedule. Each scheduled run is a real phone call, and the call minutes are billed.

The shortest interval is 10 minutes. Each account has a limit on the test-call minutes a day its schedules may use (10 minutes a day unless Cerverus set another limit for the account). Test schedules shows the estimate: how often each test runs times about how long its call takes. A new schedule, or switching a paused one back on, is refused when it would go over the limit: run tests less often (once a day uses far fewer minutes than every hour), pause some, or ask Cerverus with "Chat with Us" to raise the limit. Only Cerverus can change the limit. Pausing schedules is always possible: "stop all tests" pauses every schedule at once.

Results

  • Logs lists every run with its result. Open a run to see each step: what was heard, what was expected, and why a step failed.
  • Overview shows how many tests are failing.
  • The Audio Library holds expected audio, including prompts recorded during discovery ("Add to library").

Alerts

A test case can alert after a set number of failures in a row, and again when it recovers. Who is told is set in Alerting (see the alerting help).

Page: #assurance, #alerting

Try it in Cerverus

Sign in to your account, or ask us for a walkthrough.