Skip to main content

Introduction to Scripting

Eggplant Monitoring provides a Script Editing capability that enables you to view and edit the code for the steps in a monitor's user journey. In this topic, you can learn how to access and use the feature, the best practices, and the additional programming functions available. Note that it does not provide guidance on programming or scripting language, methods, and practices, beyond what is needed to use this feature.

The user journey step scripts are written in the Ruby programming language with associated Selenium bindings. Changes take effect as soon as you save. When modifying code, comment out existing lines and add new lines with clear comments, so changes can be reverted if needed. Details for editing scripts are provided in the following sections:

info

If in doubt, contact Eggplant Customer Support before making changes.