Forum Discussion

le_le's avatar
le_le
New Contributor
12 years ago

TestComplete do not keep the log file if it is closed unexpectedly when running is in progress.

Dear all,



I met an issue with TestComplete. I was running a test suite with 31 test cases. However the power was off when the execution was on-going. Then I re-launched TestComplete and checked if the log file was generated for the executed test cases and I found that there was nothing. Can any body tell me if you met this issue before and let me know if you have a solution for this issue? 



Many thanks,

Le

1 Reply

  • karkadil's avatar
    karkadil
    Valued Contributor
    I can see 2 possible solutions here.



    1. Right click on project name, select Edit|Properties, then select Playback option and modify value of the Save log every...minutes option.



    2. Create handler for OnStopTest event and add there Log.SaveToDisk().



    These are two ways to save your log during test execution, I believe it should help.

    In case of power off again you will not lose all test results, but only the latest ones (e.g. last test which was executed).