OnActionScriptException Event

Applies to TestComplete 14.40, last modified on April 22, 2021

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