Forum Discussion
The below article will help you in AppendFolder, PushLogFolder and PopLogFolder
- Manfred_F8 years agoRegular Contributor
Well, I want something else.
The test has run, the log is written. OK.
Now, I want to open the log's nodes to a certain extent to give me a comfortable view on the log.
This means: Show the Information on an adequate Level, but hide subordinate Levels.
So far, I have to do this manually.
- tristaanogre8 years agoEsteemed Contributor
So... once the test is completed and all the scripts are run... you want to manipulate the log via script? I'm a little confused. Once TestComplete is done and the log is displayed on screen, there are no further running scripts... consider that the "program" has completed and exited. So, I'm not sure precisely what you are wanting to do.
Suffice it to say, if there is information that is in the log that you don't want to be there, that is up to you how much stuff gets logged. Letting TestComplete do the default logging is good for basic stuff, but the more control you want over the log contents, the more deliberate you need to be in incorporating logging code in your automation.
- Manfred_F8 years agoRegular Contributor
Well, I do not want to manipulate the script after running, as in the meantime, I managed to have just the Information there that I want.
Instead, It is all about hierarchy. My logs are well-structured using a number of hierarchy Levels.
So, the Reader can and has to decide, how much Information he wants to see. The deeper he drills down at a given location, the more detailled info he gets. Having to decide means having to do lots of mouse clicking to open the n-th log Level for lots of log nodes.
My objective is to make this more comfortable. I want to present a log with nodes opened to a certain extent, in a Default view.
Related Content
- 7 years agotechgirlbb