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



Yaron Assa




August 13th, 2008 at 9:41 pm
Thanks alot for the trick
August 19th, 2008 at 2:08 pm
I am unable to find the given path in RegEdit.I am able to go upto QuickTest Professional only. Please help me out.
August 25th, 2008 at 1:13 pm
How to get this log file when we run the test from Quality Center?
August 26th, 2008 at 7:48 am
Its gr8!!!
Is there any way to change the Path of LogFile.html
August 28th, 2008 at 7:55 am
its very good
September 1st, 2008 at 8:45 am
Nice tip. How to change the Path of logfile.html?
September 1st, 2008 at 12:50 pm
Hi All,
May I please know where is the Result Folder???
September 2nd, 2008 at 7:49 am
Hello,
Thanks for this info.
While changing the value, I am getting an error as “Cannot edit Active: Error writing the value’s new contents”
Please help me for the same.
Thanks in advance.
September 2nd, 2008 at 1:18 pm
hi ASSA,
This is cool stuff…. but is there any way to put a screenshot of webpage in this html log file????
November 5th, 2008 at 10:49 am
Hi,
Its a gr8 trick
regards,
Dilip