Tag: {MaxAudioLength}
The {MaxAudioLength} Tag is a functional Cyara Test Case Tag used to perform a single unique function. This Tag is used to specify a maximum duration in whole seconds for the audio heard in this Test Case Step (starting from the beginning of audio heard, skipping any leading silence).
This Tag is unique in it's application in that it will not only mark a Test Case Step as Failed, it will end the call if it does not pass. If the audio duration exceeds the supplied amount of time specified in the Tag, the call is ended immediately with the reason "Abandoning call because audio length exceeded maximum duration".
This tag is useful for ending a call that has audio that goes on too long (for example, hold music that lasts too long).
Conditions and Restrictions
- Maximum time entered in seconds
- As this Tag is listening for a Maximum amount of audio to be heard in a single test case step, this tag can not be used with the {BargeIn}, {Ignore}, or {WaitForHangUp} tags.
- If this tag is used in a Multi-Step prompt (A prompt that is covered by multiple steps in the Cyara Test Case), it must only be placed on the initial sub-step. (If this tag is used in subsequent sub-steps within this multi-step prompt they will be ignored.
Example of Using the {MaxAudioLength} Tag in a Cyara Test Case.
The {MaxAudioLength} Tag will hangup the call if the audio heard for a step is longer than the specified maximum value, this tag is best used on Test Case Steps where terminating the call is appropriate.
In this example we want to confirm that a customer can be placed within a secondary hold queue, and we want to ensure that they can hear at least the first 60 seconds of hold music. We also don't want to leave the Test Case running forever so we can terminate the call after this 60 seconds of hold music is heard.
In the above example, The Cyara Speech Recognition will be performed on Step 1 where we expect to hear "Welcome to Assure Bank, please hold". Then the 2nd Test Case Step will wait for a maximum of 60 seconds of listening to audio before terminating the call with the reason "Abandoning call because audio length exceeded maximum duration".
Comments
0 comments
Please sign in to leave a comment.