OnActionScriptException Event

Applies to TestComplete 15.70, last modified on December 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.

Declaration

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

Description

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.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

Process

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

Exception

The stack of the exception.

Remarks

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