OnLogCreateNode Event

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

Occurs before a folder is created in the test log.

Declaration

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

Description

The event occurs before a folder is created in the test log. You can use it to perform actions when creating a folder.

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 creating of the node.

Remarks

  • If you cancel folder creation by using the LogParams.Locked property, there is no need to pop the folder.

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

See Also

Using Folders
LogParams Object
OnLogCloseNode Event
Handling Events
Event Control

Highlight search results