GAutomation
7 years agoFrequent Contributor
Log.saveresult
log.saveresultAs(filename,lshtml) generates a html file each time when we run the script. I want to rename that html file instead of overwritting it. is there a way?
If the error is failing the tests before the Log.SaveAs is being called, then obviously it's not going to save to the log.
You may need to implement an OnStopTest event handler to handle the situations where your normal exception handling doesn't trap such things.
It appears you have "Stop on Error" or "Stop on Exception" checked in your playback engine. You might want to consider turning those off as well.