How to export QTP reports in pdf format?

Updated On Mar 26, 2014 by

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.

Welcome new readers: Download the Free eBook!

Ankur JainI am Ankur Jain, the owner of LearnQTP and founder of a software organization. This site is run, maintained and updated by me and my team. Feel free to take a look around, you may want to start with What is QTP? 

You can connect with me on my Google+ page. 

Please enter your first name and email address below to instantly download the eBook on Optimizing QTP Scripts. In future, we will make sure you get new tips & tricks on QTP delivered direct to your email box.



Share This:

10 Comments

  1. RAVI KANT SHARMA

    Hi Ankur,

    I am presently using QTP 10.0 and HP-ALM 11.0.
    Thesedays we are facing a very unusual issue with ALM.
    We have used Modular-Hybrid Methodology for our project. Here we are saving all our Test Cases in a Share Drive and each Test Case is mapped to ALM\QC through a portable approach through a call to external action.
    All of our tests are available in discrete actions and then called up through a up in a Driver Action. Thus we have one driver for each script and this Driver is then called as external action to a test in HP-ALM.

    Problem :
    When we try to run a test which is mapped to ALM :
    1. Sometimes ALM takes a considerable time and then throws a pop-up message that “Test does not exist.” Although Test exists there.
    2. If ALM opens that Test in QTP then we find that all actions are missing from the hierarchy in Test Flow pane. Hence it is not able to execute test with the help of ALM.

    But all the Tests that we have automated before QC to ALM migration: -> ALM is able to run them successfully.

    Infact I have raised this issue to HP-Support Team but they have not come up with any specific solution for this and told us to install patch 28 for ALM.

    Hence we need your help on this………

  2. raji

    hi ankur, what is meant by cyclomatic.

  3. How to create Collapsable HTML report using QTP

    How to create Collapsable HTML report using QTP

  4. Rahul

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

  5. miranky john

    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

    • Ankur

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

  6. Anonymous

    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

  7. Anonymous

    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

  8. Joy

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

  9. Stefan

    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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>