Test Script

Once the screens that make up your script have been defined, it is possible to test them from within Workflow Designer to ensure that it is working as expected.

To test the script, click the Test icon on the main toolstrip. You are presented with the Script Options dialog box.

You will be prompted for the ID of a contact record, which is useful if testing outbound scripts and need a record loaded for the script to work. 

Clicking the icon starts the script testing process and displays the starting screen.

The toolbar on the right-hand side provides all the options needed to manage the call and test the script.

Icon Option Description
Recorder Status  
Refresh Script Object Refreshes the script's displayed screen
Close Closes the test screen
Next Navigates to next screen
Previous Navigates to previous screen
Search

Displays a dialog where you can provide the numeric contact ID for the record that you wish to load

Script Current Script Variables

Opens the Script Information window to see the values of the script variables, database fields, screen controls and details of the script flow

Feedback Allows you to provide comments and release notes for a script that is in Build mode.
Trace

Opens up the debug/trace window to see the variables updated, events raised, SQL called and, if set, the function flow during the running of a function.

Tip: This window and the information windows (shown when double-clicking on a trace line) can be resized.

The following panels exist:

Example: The picture above shows the trace of a button called BTN_BUTTON1 being pressed on the screen START which, in turn, called a function that moved the script to a screen called SCREEN2.

Complete call