Occurs before a warning message is posted to the test log.
|LogParams||[in]||Required||A LogParams object|
The event occurs before a warning message is posted to the test log. You can create the
OnLogWarning event handler to perform desired actions upon posting warnings to the log. For instance, TestComplete posts an ambiguous recognition warning when a script attempts to address a window using recognition attributes that coincide with the attributes of two or more windows. You can use the
LogParams.AdditionalText properties to replace the TestComplete text with your own.
The event has the following parameters:
The Event control that processes the event.
For information on how to create an event handler for this and other TestComplete events, see Handling Events.