Save log file incase of unexpected QTP termination
Can someone share code snippet to save log file(Excel log file), in case of unexpected QTP termination. I have created framework in which I am storing results in Excel File. But while executing sometimes QTP terminates due to unknown reason. So all the result get losts because execution doesnot reach to the point of save and close of excel sheet code. Any suggestions will be appreciated.
Re: Save log file incase of unexpected QTP termination
The only way is to save the data after few iterations. Depending on the kind of test you will call the code to save the file in between