Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Export QTP Result to HTML file
#1
Solved: 11 Years, 3 Months, 1 Week ago
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
Reply
#2
Solved: 11 Years, 3 Months, 1 Week ago
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...&type=post
'###########################################################
Method3:
----------
We can write out own functions to generate the custom html reports.

Let me know if you need any more info.
Thanks,
SUpputuri
Reply
#3
Solved: 11 Years, 3 Months, 1 Week ago
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
Reply
#4
Solved: 11 Years, 3 Months, 1 Week ago
Hi,

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

Thanks!
Reply
#5
Solved: 11 Years, 3 Months, 1 Week ago
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
Reply
#6
Solved: 11 Years, 3 Months, 1 Week ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to export the output value of a webedit object to a new excel file. mounika6677 1 1,491 04-14-2019, 05:18 PM
Last Post: mounika6677
  Attaching QTP result to Quality Center vikas_dhir 5 20,041 01-06-2017, 11:55 AM
Last Post: Swetha_Bayya
  Customized HTML reports in QTP azeem 11 49,342 12-31-2016, 02:57 PM
Last Post: chevronneraji
  [UFT] Get text into DIV through HTML tag robertosalemi 2 5,494 03-29-2016, 09:43 PM
Last Post: robertosalemi
  How to Export run result viewer with CAPTURED DATA and save it in PDF,or Doc,or HTML akhandesh 0 2,938 07-16-2015, 06:03 PM
Last Post: akhandesh

Forum Jump:


Users browsing this thread: 1 Guest(s)