Forum Discussion
But shouldn't the value for "Store all logs" be stored somewhere in the system/device? If yes, can you please provide the location. [Say, I wish to keep 5 logs. Where is this numeric value “5” stored?]
It is... but again, changing it at run time will not affect the current run. It's something that's ready in at the start of the test run and used through the test run... so, updating the settings or registry key during the run won't impact the current run.
As it is, the file is stored in your user settings AppData\Local\SmartBear\TestComplete\12.0 folder in a file called TCSettings.xml... and it's honestly not something that I'd personally feel comfortable messing with.
- tristaanogre7 years agoEsteemed Contributor
Again, I ask... why do you need to change the ability to store logs or not? As mentioned in that other thread, you are storing your logs in the Program Files folder... not exactly the place I'd store logs, or project source to begin with.
If you want to avoid writing to a log file, just call Log.Enabled = false which will turn off sending any message to the log at the beginning of your test run. But again... what's the point? The Log is the output of the results of test runs... without the log, you're just going through the motions without any feedback as to what is happening.- Jaswanth7 years agoOccasional Contributor
I don't need TestComplete logs because my team has another tool to create/fetch the result. So my requirement is to stop producing any results/logs from TestComplete.
- tristaanogre7 years agoEsteemed Contributor
Well, the best you can do is Log.Enabled = false. This will prevent writing anything out to the log... but it won't prevent creating the actual TC log files... they are core of the TestComplete application so you will ALWAYS create at least one log file.
Related Content
- 5 years ago
- 10 years ago
- 10 years ago
- 14 years ago
Recent Discussions
- 20 hours ago
- 20 hours ago
- 5 days ago