Login   /   Register

Save QTP report as a single HTML file

Rate this article
     4 votes, average: 3.75 out of 54 votes, average: 3.75 out of 54 votes, average: 3.75 out of 54 votes, average: 3.75 out of 54 votes, average: 3.75 out of 5
Loading ... Loading ...
August 4th, 2008 by Yaron Assa

There are a lot of different solutions for improved reporting in QTP (for example, our very own ReporterManager). However, sometimes, you simple wish to export the entire report into a single HTML file, in order to copy / mail / archive it. Here’s a neat trick that will help you do that:

Open the registry editor, and go to
HKLM->SOFTWARE->Mercury Interactive->QuickTest Professional->Logger->Media->Log

There’s an item named "Active" under that key. Change it to 1 (it should be 0)

Now when you run a test (you need to restart QTP after the change), the results folder will include a LOG folder, with the entire log as a single HTML file. It’s a concise report, but it’s quite enough for most uses.

Posted in Reports

10 Responses to “Save QTP report as a single HTML file”

  1. Sree Kondapaneni Says:

    [-]

    Thanks alot for the trick

  2. qtpsuman Says:

    [-]

    I am unable to find the given path in RegEdit.I am able to go upto QuickTest Professional only. Please help me out.

  3. Auto2008 Says:

    [-]

    How to get this log file when we run the test from Quality Center?

  4. Manish_Bhalshankar Says:

    [-]

    Its gr8!!!
    Is there any way to change the Path of LogFile.html

  5. mohammedghouse Says:

    [-]

    its very good

  6. Speedozer Says:

    [-]

    Nice tip. How to change the Path of logfile.html?

  7. aardvax01 Says:

    [-]

    Hi All,

    May I please know where is the Result Folder???

  8. Vishal Says:

    [+]

    Hello, Thanks for this info. While changing the value, I am getting an error as "Cannot edit Active: Error writing the value's n... ...

  9. Kiran Says:

    [-]

    hi ASSA,

    This is cool stuff…. but is there any way to put a screenshot of webpage in this html log file????

  10. dilipQA Says:

    [-]

    Hi,

    Its a gr8 trick

    regards,
    Dilip

Leave a Reply

You must be logged in to post a comment.

This article was viewed 2243 times