.

How to export QTP reports in pdf format?

QTP 9.x and earlier versions provides the native support for exporting your test results to HTML. What will you do if you need to export it in a pdf format?
Though there are many commercial tools in the market to do this, here I would like to give a free desktop based solution for exporting your results to PDF format:

  1. Download PDF Creator from PrimoPDF. [17.8MB, FreeWare]
  2. Run the set up program, follow the instructions on the screen and install Primo PDF creator.
  3. PrimoPDF is installed and can be accessible from File > Print (printer) option menu.image
  4. Click OK and you will get this screen.image
  5. Select the radio button “EBook”. Use Save As button to save the pdf in your desired location. Click OK
  6. Your report in pdf format is ready. Cheers!

How do you convert your QTP reports to other formats? Do let us know through the comments below.

Have you downloaded the FREE Optimizing QTP eBook yet? Get It Now!

If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.

7 comments ↓

#1 Stefan on 07.10.08 at 22:49

QTP native report has one major design mistake…the result is not available until after a test! Therefore I use custom reporting to a database and the results are available during run-time via a web page: http://abouttesting.blogspot.com/2008/06/test-automation-report-source-code.html

#2 Joy on 10.10.08 at 00:54

I tried primopdf. But i didn’t get the screenshot in the pdf file which was there in my QTP Resultset
pls help…

#3 Anonymous on 10.16.08 at 21:05

How did you incorporate primopdf into your QTP script? OR is this not the approach to using it?

I will have a QTP Resultset and simply want the pdf to be generated at the end of the Test Execution cycle.

Any comments/help welcome?

Code example would be nice. ; )

Roy

#4 Anonymous on 10.16.08 at 21:09

Hi,

How can I code the primopdf to generate my qtp resultset into a pdf file after test execution has completed?

Is this done within QTP code?
Can it be done within QTP code?

Any code example?

:)
Roy

#5 miranky john on 04.28.09 at 08:16

Hi everybody,

When I run a set of tests using Test Batch Runner, I will need to go through each test separatly to check the result. My question is : is there any way to generate one report that describes all the test results, instead of going trhough each test.

Thanks in advance,

;-)

John

#6 Ankur on 04.28.09 at 10:26

@John: There is no straightforward way. Probably I “ll develop a utility for it some time.

#7 Rahul on 11.26.09 at 21:25

How to get reference (address) of a varient using VB Script?

Leave a Comment