Browser Message Box API Reference

Use browser message box APIs only when a test must handle JavaScript alerts, confirms, or prompts during playback. Validate behavior in the current Scenario Editor runtime because older Test Designer API examples may depend on legacy browser behavior.

Message box types

Validation checklist

  1. Confirm the dialog is application-generated, not a browser permission or security prompt.
  2. Trigger the dialog in a controlled test environment.
  3. Handle the dialog before continuing to steps that depend on the page state.
  4. Assert the expected application result after accepting, dismissing, or entering prompt text.
  5. Avoid using dialog handling to bypass browser security warnings or customer controls.

Legacy note: Keep old API names only when maintaining existing scripts. New documentation should describe the behavior in Scenario Editor terms.

Last updated: October 6, 2026


Revision #2
Created 2026-07-24 14:33:07 UTC by Admin
Updated 2026-10-06 13:26:00 UTC by mmora