##### Compile

# Simulate

After you have finished editing the scripts and compiled them, they are ready to be tested. If the Target Directory and Simulate URL in the Target Environment refer to the same directory, then the scripts will have been compiled to the same directory from which they will be run and may be tested as is. If not, speak to your system administrator.

When you select this option, a browser opens. Selecting Ctrl-F5 will also display the Find screen. The first page that will appear will be a script launch page. It will display a list of possible scripts that can be run, and parameters that have been defined.

## Process Flow

Select a script for Genesys Agent Scripting to run. This drop down contains a list of existing scripts as well as a [Default] entry as the first entry in the list. If the [Default] entry is selected, then Genesys Agent Scripting will automatically use the first script/page that is defined in the tree as the starting page when run.

## Parameters

All fields defined as parameters will appear on this page. Any field that is defined as a drop-down list or radio button will appear as a drop down list. All other fields will appear as text fields. The user may assign values to these fields before running the Genesys Agent Scripting application in simulation mode.

## Display URL

Clicking the Display URL button will cause the starting URL, an example of which is seen below, to appear in the browser window. Starting URL:

http://localhost/WWGDemo/WWGStart.asp?WWGProcessFlowName=&ANI=555-6000&CallID=123456789

## Simulate

After you have supplied values for the parameters and selected a process flow, click Simulate. You will be placed in the first page of the script selected in the previous page.

You can navigate through the pages and test them before setting up the Genesys Agent Scripting Application for general use.