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.
The following panels exist:
![]() Shows details of any variable that is updated and its current value
![]() Shows details of the commands run, events raised, screens and scripts loaded ![]() The Type column uses the following icons to indicate what trace event occurred:
![]() Allows you to search through the function trace to locate a specific key word. The Find button will allow you to locate the first instance, and the Next button can be used to find subsequent instances. The Mark button will place a tag against each line that matches your search criteria.
![]() The checkboxes along the bottom of the screen allow you to specify which trace events you want to see:
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 |