fujunxu
11 years agoContributor
Log.SaveResultsAs didn't save the error message
I use “result = Log.SaveResultsAs(myFilename,2)” to save log in function “GeneralEvents_OnStopTest”. When my script fails I couldn’t see the error message. But if I use command line option /ExportLog: I can see the error message. It looks like the error message only attached to the log after testexecute finished. Is there a way to save error log when testexecute is still running? Thanks.