OnLogMessage Event

Applies to TestComplete 15.70, last modified on December 17, 2024

Occurs before an informative message is posted to the test log.

Declaration

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

Description

The event before an informative message is posted to the test log. You can create the OnLogMessage event handler to perform desired actions upon posting informative messages to the log.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

LogParams

The LogParams object whose properties hold node attributes.

To avoid recursive calls, do not use the Log.Message method within the event handler of the OnLogMessage event.

Remarks

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

See Also

Posting Messages to the Log
LogParams Object
OnLogError Event
OnLogWarning Event
OnLogEvent Event
OnLogCheckpoint Event
OnLogPicture Event
OnLogFile Event
OnLogLink Event
Handling Events
Event Control

Highlight search results