Script

A script specifies a set of actions to be taken at a specific point in the execution of a Test Composition (via the test clip in which the script has been placed). CloudTest Scripts are written in JavaScript.

For example, a script that modifies the input data for a message based upon a set of status codes from the previous message response.

Use Central > Scripts to view a list of scripts already in the system and to create new scripts using the New icon on the toolbar.



The Script Editor provides an interface typical of many color-coded programming environments.



Scripts, like messages, checkpoints, browser actions, and delays, are test clip components and can be added to test clips like any other component. To view scripts to add in the Test Clip Editor, click the Scripts tab when Clip Builder is the active view.



Use double-click or drag-and-drop to add the selection to the open test clip.