Forum Discussion
Hi aamonto,
I'm sorry for the confusion, I understand now what you are having issues with.
Unfortunately there are not really any options to enable/disable posting of Events to the log within TC's UI.
Although, we do have a method to do this in scripts, the 'Log.LockEvents' method. Using this will allow checkpoints and basic log messages to pass, but will block all of the Events that occur to avoid consuming too much memory.
Here is the doc for this method just in case this may be the root cause;
Is it possible that maybe the 'Log.LockEvents' method is present in your script somewhere?
If not, are you using any event handlers in your tests? You can also disable events with flags for event handlers, such as 'Log.Enabled=false'.
Hi npaisley,
No I haven't used the 'Log.LockEvents' method, also I have only one event handler "OnLogError" to failed the scripts (in case they failed) in a different automation tool using API's, but nothing related with the Logs or events, any other idea on this? I am also thinking on reinstalling TestComplete to see if this fix the issue.
- npaisley3 years ago
Staff
Hi aamonto,
I appreciate the info here. Unfortunately my next idea would be along the same lines. We can repair TC instead of performing a full reinstall. I might give that a shot and see if it remedies the issue.
Repairing TestComplete;
https://support.smartbear.com/testcomplete/docs/general-info/installing/maintaining/repairing.html