What is the process to use GUI Spy on Alert Box?
In AutomationEdge Process Studio, native browser JavaScript alert boxes such as alert(), confirm(), and prompt() cannot be directly spied using GUI Spy or Web Spy because they are browser-level dialogs and block normal DOM interaction.
Instead, AutomationEdge provides the GUI: Web Alert step to handle these dialogs programmatically. Use this step after an action triggers an alert and configure the required operation to accept, cancel, or provide a response.
Alert Operations
| Alert Operation | Description |
|---|---|
| Default Alert | Handles a standard alert containing a message and an OK button. |
| Confirm Alert | Handles a confirmation dialog containing a message with OK and Cancel buttons. |
| Prompt Alert | Handles a prompt dialog that allows the user to enter a value, along with OK and Cancel options. |