Forum Discussion

cruzader's avatar
cruzader
Contributor
13 years ago

How to clear Project Logs programmatically?

Hello to all. I hope someone could help me with my inquiry. Is there a way to clear the Project Logs programmatically? Currently I have a script (macro) in MS Excel where after some p...
  • Dmitry_Nikolaev's avatar
    13 years ago

    Hi Ruel,



    There is no way to remove test logs from script. However, you can act in one of the following ways to reduce the size of the project log:



    1. You can specify the number of test logs which will be kept in a TestComplete project suite and project. To do this, uncheck the "Tools | Options | Engines | Store all logs" option and set the needed value of the "Number of recent logs to keep" option.



    2. Use the PNG format to store images in the test log. Please see the "Specifying Log Images Format" article to learn how to change the format of screenshots stored in the Test Log.



    I hope this helps.