Forum Discussion

chris_reynolds's avatar
chris_reynolds
Occasional Contributor
13 years ago

Log.SaveResultsAs(fName,1) hanging probably indefinitely

I have a modest test suite in JScript running on 8.70



The export of the log seems unbelievable slow. Are there any work-arounds?
  • Hello Chris,


    I am not aware of performance issues with exporting Log. How long does it take TestComplete to export the Log data on your machine? Can you reproduce this issue if you create a new simple project and make it export the Log data in a similar way? Can you send us your TestComplete project?

  • chicks's avatar
    chicks
    Regular Contributor
    Did this get resolved?



    I am also having hanging IE / slow export files when using this.    Here's my code:



    function GeneralEvents_OnStopTest(Sender)

    {



       Log.Message("about to save results on stop test event");

       Log.SaveResultsAs("c:\\TestCompleteLogs", 1, true);

       Log.Message("done saving results");

    }



    I've seen both hanging IE a(test execute) as well as taking 30 minutes to log a test script that ran in less than 30 minutes with no errors.   TestComplete 8.6 



    Curt Hicks
  • chris_reynolds's avatar
    chris_reynolds
    Occasional Contributor
    Yes, I received a patch from SmartBear support that resolved the problem.

    I haven't upgraded to 9.0 yet but I expect the patch has made its way into the TC9.0 build.