Forum Discussion
Kitt
2 years agoRegular Contributor
I would think a possible reason (assuming the coverage results are not posted until after the test run) would be because you are launching and closing the tested app in every test case.
(by default, this also terminates profiling in AQtime). To wait for profiling to finish and to export profiling results, you can use the AQtime.WaitAndExportResults method
Something you can try is to create a [OnStopTestCase event] handler to close the tested app then post the results to the log using the recommended method:
function EventControls_OnStopTestCase(Sender, StopTestCaseParams)
{
// Close app & wait until AQtime finishes profiling, then export the results
Sys.Process("MyApp").Close();
AQtimeObj.WaitAndExportResults("C:\\SummaryResultsFile.xml", "C:\\ResultsFile.xml");
}
Related Content
- 2 years agoragul