Click the "Test the Macro" button on the VBScript Macro tab to execute the Macro at the Edit Node window. Testing Macros outside of the call environment will save development time as Macros will be more error-free when they execute while Active Call Center processes a call.
Sequence of Events during a Macro Test
When "Test the Macro" is clicked, Active Call Center goes through almost the same steps it would go through if it were to execute this Macro during the course of a regular call. The exact sequence of events that take place is as follows:
Step 1. The VBScript Built-In Functions file will be loaded. This file contains a set of pre-defined macro functions that are available at each Node.
Step 2. Active Call Center will process the "Header Used to Test the Macro" field and set internal variables as specified in the header.
Step 3. The Macro will be loaded and executed. If there is an error in the Macro, an error message will appear and Step 4 will not take place.
Step 4. Active Call Center will show the variables that changed after the Macro executed - this will help decide if the Macro executed correctly.
Known Issues: