Forum Discussion

chupkas's avatar
chupkas
Frequent Visitor
11 years ago

saving the log from TestExecute is taking over 6 minutes

I have a short project to demo basic functionality of TestComplete.  There are 5 script units written using JScript.

 

Tried exporting the .mht from the command line through a batch file, then changed it to a function mapped to an EventHandler for OnStopTest.

 

Both methods of exporting the log file are taking over 6 minutes. It started taking a long time to save the log after I added a data driven test.

 

function GeneralEvents_OnStopTest(Sender)
{
Log.SaveResultsAs("c:\\LOG\\POC.mht", 2);
}

 

Is there anything I can do to shorten the .mht log save time when the Project Suite is executed remotely?

1 Reply

  • how large is the log file in MB?  If it is large, it can take quite a long time I find - maybe reduce the amount of logging you are doing or reduce the number of screen shots?  It sounds like maybe you are looping round the tests a lot now (having made it data driven) and hence the log is large?  Also maybe look at Compressing the log (in the help)?