![]() |
|
![]() ![]() ![]() |
Creating Scripts for Testing > Using Scripts to Simulate Caller Responses > Creating a Response Script | |
![]() |
Creating a Response Script |
To work correctly with the Avaya Voice Browser (AVB), the response script must be in the form of an XML file. You can use any good text editor to create the file.
When creating your script, use the following guidelines:
You can have one or multiple item entries for each ASR recognition response. If you want to simulate only a single response, use only one item entry. If you want to simulate multiple responses to a single ASR attempt, you can add as many item entries as you need.
Tip:
Avaya Voice Browser response scripts are useful when working on long and complex applications. An excellent way to use scripts is to enter only as many responses as needed to get to the point in the application that is currently being worked on. For example, suppose an application prompts the caller for twelve different responses. You have completed the application up to the sixth prompt and are working on the seventh and eighth prompts. A script can be created that provides responses for only the first six prompts. In other words, the Avaya Voice Browser uses the scripted responses for the first six prompts and then goes into normal interactive mode so that the seventh and eighth prompts can be tested manually.
![]() ![]() ![]() |
©2009, Avaya Inc. All rights reserved.
|