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:
- Download PDF Creator from PrimoPDF. [17.8MB, FreeWare]
- Run the set up program, follow the instructions on the screen and install Primo PDF creator.
- PrimoPDF is installed and can be accessible from File > Print (printer) option menu.

- Click OK and you will get this screen.

- Select the radio button “EBook”. Use Save As button to save the pdf in your desired location. Click OK
- 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 ↓
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
I tried primopdf. But i didn’t get the screenshot in the pdf file which was there in my QTP Resultset
pls help…
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
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
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
@John: There is no straightforward way. Probably I “ll develop a utility for it some time.
How to get reference (address) of a varient using VB Script?
Leave a Comment