Forum Discussion
It's not just as simple as deleting some files. You'd also have to modify a couple of the project files, which are not the easiest things to modify by hand or by code if you don't understand the schema. And you'd have to do it after your project suite completes it's run, because TestComplete keeps those files open during the run.
In short, like tristaanogre said, no.
As shown by earlier replies, it is not easy to do that while the project is running.
I have a particular way of doing log (and visualizer) clean up after I have run a batch of tests overnight and happy to clean up for the next run. Hopefully this gives you an option.
1. Use a search app to find the Log and Visualizer folders. I use FileLocater (Lite version also available free) and use the following search regular pattern on the tests directory: ^Visualizer$|^Log$
2. Highlight the search results and hit DEL - done.
Hope that helps.
Harnek
- will_fetherolf7 years agoContributor
Sure, you CAN do that. I wouldn't recommend it.
When you open your project, TestComplete will attempt to index the log files so it can access them a little quicker when you want. Because you've deleted the files, TestComplete will complain because the files are not accessible. If you see this as acceptable behaviour, feel free to do so. Personally, when I open a project I was to start working on it as quickly as possible and I don't want to be distracted by some dialog begging for my attention. YMMV.
- HarnekSandhu7 years agoOccasional Contributor
I have been doing this for years across several major versions of TestComplete and I have never seen any complaint messages or dialog ever. I ran tests for side effects before I adopted this practice.
As this does not jive with your statement, do you have a screen shot to share with us?