Forum Discussion
Dmitry_Nikolaev
15 years agoStaff
Hi Benoit,
You can obtain text posted to the test log from the LogParams parameter of the OnLogEvent, OnLogMessage, OnLogError and other OnLog* events. These events are fired before TestComplete posts a message of the corresponding type to the test log. To learn about these events and how to handle them, see the "About Events and Event Handling", "OnLogEvent Event", "OnLogMessage Event", "OnLogError Event" help topics and other help topics corresponding to the OnLog* events.
BTW, you can handle unexpected windows by using the OnUnexpectedWindow event handler. For details, see the "OnUnexpectedWindow Event" help topic.
Related Content
Recent Discussions
- 2 hours agoashly