Debugging with the Extension Script Tester

The Extension Script Tester is used to validate the basic logic of a custom script before integrating it into your main script. It is useful for testing for loop logic, converting long values into strings, and verifying expected outputs.

  1. Select Maintenance > System Administration > Scriptable Extensions > Extension Script Tester.
  2. In the Script Type field, specify the script type to use.
  3. Provide your custom script in the Script field.
  4. Click Run.

    The Output area displays the script’s result and any errors.

    Note: The Extension Script Tester has limited access to application data, such as employee records, so some scripts may not run as expected. Only Groovy and Java languages are supported.
After you successfully test your code in the Extension Script Tester, you can move the code to your main custom script.

If you cannot debug your script on this page, you can also take advantage of the debugprint() statements that you can insert permanently in your custom script and only enable when you select to debug the code.

See Debugging with the debugprint() statement.