Forum Discussion
Hi npaisley,
I just restored the docking layout using the "Restore Default Docking" option, but nothing changed, please find below the screenshot of the entire Test Log screen, the issue is not the picture or screenshot, the problem is that all the steps that are usually displayed as "Events" are not displayed in the Log, in the screenshot you can see that the log is not filtered so these steps should be displayed but they aren't:
I already reviewed the configuration in the "Tools -> Current Project Properties -> Visualizer" menu and it has the same configuration than yours:
Another example of this situation with a different script:
Scripts results before the issue (all the event steps are displayed):
Scripts results after to the issue (all the event steps are NOT displayed and only the checkpoint are shown in the log):
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'.
- aamonto3 years agoOccasional Contributor
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 agoStaff
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
Related Content
- 2 years ago
- 13 years ago
Recent Discussions
- 7 hours ago