OnActionScriptException Event

Applies to TestComplete 15.65, last modified on July 17, 2024
Flash Player has reached end of life on December 31, 2020. Support for Flash and Flex applications is now deprecated in TestComplete and will be removed in a future release.

Occurs after an ActionScript exception raises.


OnActionScriptException(SenderProcessException) Parameters
Sender [in] Required Variant
Process [in] Required A Process object
Exception [in] Required String


This event occurs when Flash Player raises ActionScript exceptions and shows them in the debugger dialog. When the debugger dialog appears, TestComplete automatically closes it and fires the OnActionScriptException event. Use the event to perform specific actions when an ActionScript exception occurs.

Note: The debugger dialog is displayed only if you use the debug version of Flash Player and Flash Player's SuppressDebuggerExceptionDialogs parameter is not set to 1.


The event has the following parameters:


The Event control that processes the event.


A Process object that corresponds to the process that raises the exception.


The stack of the exception.


For information on how to create an event handler for this and other TestComplete events, see Handling Events.

See Also

TestComplete Events
Handling Events
Event Control

Highlight search results