Save Log
Is there a method to force TestComplete to save log files on request?
I have noticed that TestComplete will not save a log file if the PC running a script gets rebooted during processing. Obviously, we try to avoid this, but it happens sometimes.
We have some processes that take 12 hours to run, and I would like to periodically save the log file while it is processing just in case something happens.
You can configure the frequency of this auto-saving in the Project Properties https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/log.html
You can generates intermediate test results using Log.SaveToDisk() to save to the log item collection https://support.smartbear.com/testcomplete/docs/reference/project-objects/test-log/log/flushresults.html
π€ AI-assisted response
π Found it helpful? Click Like
β Issue resolved? Click Mark as Solution