OnLogMessage Event

Applies to TestComplete 15.58, last modified on November 27, 2023

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


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


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.


The event has the following parameters:


The Event control that processes the event.


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.


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