OnLogCloseNode Event

Applies to TestComplete 15.42, last modified on September 08, 2022

Occurs before the currently active parent node is closed in the test log.

Declaration

OnLogCloseNode(SenderLogParams) Parameters
Sender [in] Required Variant
LogParams [in] Required A LogParams object

Description

This event occurs when the currently active parent node is closed in the test log. You can use this event to perform desired actions when closing a node.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

LogParams

The properties of the LogParams object hold node attributes. However, you can use only the LogParams.Locked property to cancel closing of the node. The other properties are ignored.

Remarks

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

See Also

Using Folders
OnLogCreateNode Event
Handling Events
Event Control

Highlight search results