Skip to main content

Call JavaScript Functions from Scenario Editor

Use this article when a Scenario Editor test needs to call a custom JavaScript function from JS Edit & Play.

Validation workflow

  1. Add the JavaScript file with Include before calling the function.
  2. Call the function with customJS and pass parameters from DPL, constants, or captured variables.
  3. Replay the step in JS Edit & Play and then run the scenario to confirm the function executes in context.

Last updated: September 25, 2026