OnWebQuit Event

Applies to TestComplete 15.46, last modified on January 09, 2023

Occurs before the web browser closes.

Declaration

OnWebQuit(SenderWebBrowser) Parameters
Sender [in] Required Variant
WebBrowser [in] Required A WebBrowser object

Description

This event occurs before the web browser closes.

Use this event to perform specific actions before the web browser is closed.

This event is fired only for the Internet Explorer web browser and web browsers based on the Microsoft WebBrowser control. It does not occur for the other supported browsers.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

WebBrowser

A reference to the WebBrowser object that displays the currently loaded web page.

Remarks

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

See Also

Classic Web Testing
OnWebBeforeNavigate Event
OnWebPageDownloaded Event
OnWebDownloadStarted Event
OnWebDownloadFinished Event
Page Object
Handling Events
Event Control

Highlight search results