CBleunven
13 years agoContributor
More explicit Log message
Hi,
I actually develop a "Framework" to test our application with TestComplete. Some actions are actually trace with the following message in the log :
that is not really explicit.
I would like to know if there is a way to substitute this message with something more explicit ?
There is the possibility to "embed" the log in a specific folder more explicit
but it starts to be a bit hard to read the entire log.
The other possibility I see is the EventHandler, but in this case I don't not see how I can obtain for each log message that is intercepted, the information I want to add (the name of the calling function).
Thank you for your help,
Christophe
I actually develop a "Framework" to test our application with TestComplete. Some actions are actually trace with the following message in the log :
The window was clicked with the left mouse button.
that is not really explicit.
I would like to know if there is a way to substitute this message with something more explicit ?
There is the possibility to "embed" the log in a specific folder more explicit
Log["AppendFolder"]("Click on the element X");
perform the click
Log["PopLogFolder"]();
but it starts to be a bit hard to read the entire log.
The other possibility I see is the EventHandler, but in this case I don't not see how I can obtain for each log message that is intercepted, the information I want to add (the name of the calling function).
Thank you for your help,
Christophe