Creating and attaching scripts

Preliminary information

To create a new script or edit an existing one, go to the Library and select the tab Scripts. A list of available scripts will be displayed. From this view you can create a new script, review the script's version history, create a copy, or edit an existing artifact.

Illustration 1. Window with the list of scripts and the context menu of one of the artifacts

Creating a script

Script Service is one of the artifact types in the repository. To add a script service, use Eximee Designer and go to the Library → Scripts, and then click the button located on the right Add script.

Illustration 2. Adding scripts

Edit window

The edit window allows changing the script content, input and output parameters, and running the script on test data:

Illustration 3. Script service edit window

Attaching on the application

For a specific component in the Properties panel you should select Interactions → External data source → Select service, and then select the name of the script and assign the appropriate components to the input and output parameters.

We can also attach scripts as input services, output services, and page services.

Illustration 4. Attaching a script to the application

Redirect to the script code

After attaching the script, an icon will appear on the right side of the window allowing navigation to the script's source code. After clicking the icon, the editor window with that script's source will open in the current browser tab. You can also right-click the icon, in which case you can choose to open the script source in a new tab or a new browser window.

Illustration 5. Context menu of the icon leading to the script source

Last updated

Was this helpful?