How to enable/disable HTML Report in QTP?

In this blog post, we will see how to enable HTML report in QTP. HTML report helps your non-technical people to understand the business flow and it helps automation engineers to validate the run session.

By default, QTP generates QTP report, it is not user friendly and also it reveals technical details. Also QTP Result Viewer generates report in PDF and Excel format and submits defects to HP Quality Center (QC). It is best practice to generate customized HTML report. In case, if you face any issues in QTP HTML report, follow the below steps:

  • Go to run, type regedit
  • Select HKEY_LOCAL_MACHINE -> SOFTWARE -> Mercury Interactive -> Quick Test Professional -> Logger -> Log
  • Double click on Active which is located in right pane
  • Enter the value 1 in Value data field

 To disable set the value 0.

After successful execution you will get report in HTML under ‘C:\TEMP\TempResults\Log’ or wherever you specified the results to get stored.

Additional Tips:

  • You can generate custom report using Reporter.Report event syntax.
  • You might need an administrator privilege in your system.

About the Author

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Hamster - Launch JMeter Recent Test Plans SwiftlyDownload for free
+
Share via
Copy link