OnLogLink Event

Applies to TestComplete 15.47, last modified on January 20, 2023

Occurs before a reference to a file is posted to the test log.

Declaration

OnLogLink(SenderLogParamsLogLink) Parameters
Sender [in] Required Variant
LogParams [in] Required A LogParams object
LogLink [in] Required String

Description

The event occurs before a reference to a file is posted to the test log. You can use this event to perform desired actions when a reference to a file is posted to the test 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.

LogLink

Specifies the URL of the linked file.

To avoid recurring calls, do not use the Log.Link method within the event handler of the OnLogLink event.

Remarks

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

See Also

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

Highlight search results