Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Elise,
In TestComplete, you can implement an event handler for the OnStopTest event to export your test log to the needed location after the test execution is completed. For example:
function GeneralEvents_OnStopTest(Sender)
{
Log.SaveResultsAs("c:\\MyFolder\\myLog.mht", 2);
}
Please see the Log.SaveResultsAs and 'Handling Events' TestComplete help topics for more information. Also, please note that you will need to disable the 'Activate after test run' option described in the 'Log Options Dialog' help topic in TestExecute.
Related Content
Recent Discussions
- 22 hours agoGane195