Micro Focus QTP (UFT) Forums
Export QTP Result to HTML file - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Export QTP Result to HTML file (/Thread-Export-QTP-Result-to-HTML-file)



Export QTP Result to HTML file - amilar - 07-16-2009

Hi all,

I am having big problem in converting QTP report to html file. i did export by

File -> Export to HTML file

but i do not want all the details. Specially i need only

1) Test
2)Results name
3)Time Zone
4)Run started
5)Run ended
6) Result
7) pass and failed checkpoints


I want only those details to add to html file.
i tried to modify the .xsl files in C:\Program Files\Mercury Interactive\QuickTest Professional\dat. But unfortunately i could not.

Therefor if any one knows the way to do or any xsl file available to get those details please share with me. I have to do this very immediatly so please help me to solve this. i am waiting for response. Thank you.

Regards,
Amilar


RE: Export QTP Result to HTML file - supputuri - 07-16-2009

Hi amilar,

We can achive this in different ways.
'###########################################################
Method1:
-----------
This is the quickest way.

HKEY_LOCAL_MACHINE->SOFTWARE->Mercury Interactive->QuickTest Professional->Logger->Media->Log

Double click on "Active"
Change the Value data from 0 to 1

Restart QTP.

When you run a test, the results folder that is created by QTP will now contain a Log folder too. This will contain LogFile.html, which will be the HTML version of the report.
'###########################################################
Method2:
---------

Please gothrough the below link

http://www.sqaforums.com/printthread.php?Board=UBB20&main=382784&type=post
'###########################################################
Method3:
----------
We can write out own functions to generate the custom html reports.

Let me know if you need any more info.


RE: Export QTP Result to HTML file - amilar - 07-16-2009

Hi QTPKing,

Thank you very much for your response. one question?

where is HKEY_LOCAL_MACHINE->SOFTWARE->Mercury Interactive->QuickTest Professional->Logger->Media->Log ??????

i can not find it.

pls tell me it, then i can try with that...

Thanks.

Regards,
Amilar
Hi QTPKing,

Thank you very much for your response. one question?

where is HKEY_LOCAL_MACHINE->SOFTWARE->Mercury Interactive->QuickTest Professional->Logger->Media->Log ??????

i can not find it.

pls tell me it, then i can try with that...

Thanks.

Regards,
Amilar


RE: Export QTP Result to HTML file - QTPian - 07-16-2009

Hi,

It will be in Registry Editor. Type the command "regedit" in the "Run" window (Start -> Run)

Thanks!


RE: Export QTP Result to HTML file - amilar - 07-16-2009

Hi QTPKing,

Thanks. i did it and got the html page. but Smile

one more question???

in that report can i remove that data table part. i want only pass and failed check points. thats only i need.

Therefore is there any ways to remove that..

please tell me. Thanks

Regards,
Amilar


RE: Export QTP Result to HTML file - raviqe - 04-28-2011

Hi,

Thanks for sharing good information on HTML Reports. Can you please shed some more light on #3 as I am planning to create HTML reports for one of our project.

Also I read some of the articles on how to embed custom HTML tags with Reporter object. But I did not see any documentation on Reporter object(logevent/internal methods etc). Can you please share some of your thoughts in this regard.
Thanks
Ravi