What is QTP (UFT)?

HP QTP

QuickTest Professional, popularly known by its acronym QTP is an automation testing tool originally from Mercury Interactive which was acquired by Hewlett Packard (HP) in 2006. QTP is primarily used for functional and regression automated testing. Using QTP, you can automate user actions on a web or client based computer application and test the same actions for different users, different data set, on various Windows operating systems and/or different browsers. Automation using QTP if planned and executed in a proper manner can save considerable time and money.
With the release of version 11.50, QTP and Service Test became part of UFT 11.50 software.
QTP is one of the most widely used automation testing tools in the market today with over 60% market share. Due to this reason, skilled QTP professionals are always in demand.

Supported Languages

All versions of QTP/UFT comes pre-installed with a Product Availability Matrix available by the name QTP_PAM.pdf (for versions below 11.0) or UFT_PAM.pdf (for versions 11.5 or above) This is the best way to find compatibility of QTP/UFT with various Operating systems, browsers, technologies, addins etc.

HP QuickTest Professional uses VB Script as its scripting language. This is the only language that is fully supported by QTP’s IDE. VB Script supports Object Oriented Programming concepts but not polymorphism and inheritance.

Supported Browsers

Browsers supported by QTP

Supported Operating Systems

QTP supports windows OS
Windows XP, Windows Vista, Windows 7 and Windows 8/8.1 (with a patch). UFT 12 supports Safari on Mac OS (in Beta mode)

As of August 2014, UFT does not support Linux OS. An Enhancement Request (ER) is open for review on HP but there is no time line mentioned. If you have a valid SAID ID you can view the request here.

System Requirements for the current version (UFT 12.01)

To successfully install and run HP QuickTest Professional 12.01, your computer must meet the minimum system requirements shown below.
However, It is always recommended to have a configuration higher than the minimum requirements.

  • Computer/Processor: Pentium IV or higher microprocessor (minimum 1 Ghz)
  • Operating System: Windows XP Service Pack 3, Windows Vista, Windows 7 and Windows 8/8.1 (with a patch)
  • Memory: Minimum of 1GB when no more than three add-ins are loaded simultaneously.  [Additional memory is required when loading more add-ins and when using the Save movie to results option to capture movies during run sessions.]
  • Color Settings: High Color (16 bit)
  • Graphics Card: Graphics card with 64 MB video memory
  • Free Hard Disk Space: 1 GB of free disk space for application files and folders. [You must also have an additional 120 MB of free disk space on the system disk (the disk on which the operating system is installed).]

Supported Technologies

QTP can be used to automate web based and windows based client-server applications. However, it doesn’t support all technologies by default. For an extended support, we need to load the corresponding add–in. For instance, if you were to automate an application based on Java technology, you will have to load Java add–in. [QTP Add-Ins are software provided by HP that needs to be installed on a machine where QTP is installed  - to support a corresponding technology.]

Quick Test Professional comes with 3 add ins by default – ActiveX, Visual Basic and Web. All-in-all QTP supports .Net, Web, VB, Java, Oracle apps, SAP, PeopleSoft, Siebel, Stingray, Terminal Emulators (Unix, Mainframes), Power Builder, Delphi, Visual Age, Web Services, Flex (By Adobe), Shunra VE Desktop Professional for WAN emulation (By Shunra)

License Types

When you install HP Quick Test Professional, it comes with a default 30 days fully functional demo license. After the demo period, we need to purchase one of the licenses so as to QTP license typescontinue working with the tool. There are two types of license, Seat and Concurrent License.

Seat License

It’s a license that is specific to the computer on which the tool is installed i.e. if two or more people want to work on the tool then each one of them has to install the seat license on their respective machines.

Concurrent License

This is a network based license that can be used by multiple users at the same time. This license is installed on a remote license server. Hence a particular number of users can work with the tool by connecting to the license server at the same time; the number varies based on the number of concurrent licenses purchased.
There is a sub type of concurrent license called commuter license. It is a concurrent license that works like a seat license for a given time period. The validity period is usually 180 days. Let’s assume we have configured 10 concurrent licenses and one or two members have to travel on a business trip because of which they couldn’t connect to the license server. In such instances, we can ask administrator to configure commuter license. This works like a seat license for a given time period. Thus for this specific time period, the concurrent licenses available offshore will be equal to total concurrent licenses minus commuter licenses.

Read about QTP licenses in detail

Cost of QTP

qtp-cost[sociallocker]The cost of a QTP license may vary by geography. In US, a seat license starts from $8000 (USD). These licenses are normally sold to organizations and not to individuals.

Certifications Available for QTP

HP has introduced an entry level certification for QTP called HP0-M47. The exam is conducted by Pearson VUE in collaboration with HP. You can take help of LearnQTP’s high quality mock papers to prepare for QTP certification.

Training on QTP

QTP trainingThere are many options available for QTP training. HP offers classroom based trainings but the general consensus among QTP professionals is that the fee charged by them is too high and the syllabus covered is too narrow.  LearnQTP has been conducting an affordable online QTP training program called QTP training OnDemand. This program was started back in 2009 and has seen many revisions since then incorporating feedback from trainees and adding content as per the needs. It is one of the most recommended and well liked QTP training programs available today. Since the program is available online, provides real world knowledge, individuals across the world join this training to enhance their skill set. Check complete details about this program here.

A Raw Example Where QTP can be Used

Let’s consider the scenario where you want to test login for a particular user. To test this scenario manually, you would generally follow these steps -

  1. Open web browser
  2. Enter the URL of the application.
  3. Enter user id & password and then click on “Login” button on login page.
  4. Verify that login is successful

Now consider a case where you have to test this login functionality many a times or you have to test the same functionality for large number of different users say a 1000 or more users. Performing this action manually is time consuming & tiresome activity. Now QTP helps you replicate your actions that you do manually such as opening the application, entering user id and password and hitting the “Login” or “Submit” button and verifying whether or not you have logged in successfully. To achieve this, you can write your code for log in scenario in QTP and run the code any number of times with a single click of a button, of course with same or different test data as required. This is a very raw example, in trained hands QTP can accomplish a lot many tasks. As of August 2014, HP Unified Functional Testing (UFT) 12.01 is the latest version available in the market.

Version history of QTP

Astra Quicktest (First version)

The first version of QTP was named Astra QuickTest and it was released by Mercury Interactive(MI) in May 1998. The starting price for the software was $3995 per copy. Source: 10k Sec filing by MI on March 29th, 2001

Astra QuickTest 3.0

Astra QuickTest 3.0 was released in Feb 2000. The software copy was priced at $2995 and it needed IE4.0 or higher to run. Source: Mike Oliveira

Astra QuickTest 5.0 (Astra QuickTest Professional 5.5)

Astra QuickTest 5.0 was released in Feb 2001. This version was able to test multimedia elements like Real Audio/Video and Macromedia Flash etc. After the addition of various patches, Astra Quicktest 5.0 was renamed Astra QuickTest Professional 5.5. This version was able to test websites to ensure they meet the requirements of Section 508, an amendment to the Rehabilitation Act of 1973

QuickTest Professional 6.5

QuickTest Professional 6.5 was released in Sep 2003 and lost Astra as part of its name. The major new features added in this version were:

QuickTest Professional 8.0

QuickTest Professional 8.0 was released in late 2004. The major new features added in this version were:

  • Unicode Support
  • Keyword View
  • Business Process Testing
  • Action/Test Parameters

QuickTest Professional 8.2

QuickTest Professional 8.2 was released in early 2005. The major new features added in this version were:

  • Patches on top of version QTP 8.0
  • Ability for Auto-Documentation
  • Step Generator
  • Enhanced Expert View

QuickTest Professional 9.0

QuickTest Professional 9.0 was released in April 2006. This was the time when Mercury started phasing out another popular product WinRunner since the company had integrated all its capabilities in QTP. The major new features added in this version were:

  • Object Repository Manager
  • Object Repository Merge Tool
  • Multiple Object Repositories per Action or Component
  • XML Object Repository Format
  • Function Library Editor
  • Handling Missing Actions and Resources

QuickTest Professional 9.1/9.2

QuickTest Professional 9.2 was released in Feb 2007. During this time HP completed its acquisition of Mercury interactive(MI) which started in late 2006. The major new features added in this version were:

  • Mercury Screen Recorder
  • Dynamic Management of Object Repositories

QuickTest Professional 9.5

QuickTest Professional 9.5 was released in Jan 2008. The major new features added in this version were:

  • Support for tabbed browsing
  • Bitmap checkpoint tolerance level through UI itself
  • WebAddin Extensibility

QuickTest Professional 10.0

QuickTest Professional 10.0 was released in Jan 2009. With this version QTP started providing 30 days trial instead of 14 days trial offered in the earlier versions.  The major new features introduced in this version were:

  • Centrally Manage and Share Testing Assets, Dependencies, and Versions in Quality Center 10.00
  • Perform Single-User Local System Monitoring While Running Your Tests
  • Improve Portability by Saving Copies of Tests Together with Their Resource Files
  • Call Actions Dynamically During the Test Run
  • Develop Your Own Bitmap Checkpoint Comparison Algorithm
  • Centrally Manage Your Work Items and ToDo Tasks in the To Do Pane
  • Improve Test Results Analysis with New Reporting Functionality
  • Test Standard and Custom Delphi Objects Using the Delphi Add-in and Delphi Add-in Extensibility

QuickTest Professional 11.0

QuickTest Professional 11.0 was released in Sep 2010. The major new features introduced in this version were:

  • XPath and CSS based object identification
  • Good Looking and Enhanced Results Viewer
  • Easy Regular Expressions
  • Now identify objects not only in relation to each other but in relation to neighboring objects. Visual Relation Identifier
  • Load Function Libraries at Run Time
  • Test Your GUI and UI-Less Application Functionality in One Test
  • Record Support For FireFox is now available
  • QTP 11 is capable of receiving Java or .NET log framework messages from your application which can then be embedded in the run results
  • Embed/Run Javascript in web pages
  • Improved test data management when integrated with Quality Center
  • QTP 11 now supports Web 2.0 Toolkit Applications out-of-the-box similar to any other add-ins.

QuickTest Professional 11.50 Unified Functional Testing 11.50

Unified Functional Testing 11.50 was released in Dec 2012. The combo of QuickTest Pro(QTP) + Service Test(ST) is now integrated into Unified Functional Testing(UFT). The major new features introduced in this version were:

  • HP UFT Insight
  • Multiple script Debugging
  • PDF Checkpoints
  • Support Open Source CI Systems
  • Mobile Testing Support

Unified Functional Testing 11.51

A service pack UFT_00001.exe was released in Feb 2013 which has changed the version of UFT from UFT 11.50 to UFT 11.51.

  • This patch has various bug fixes and minor enhancements. It has an added support for Windows 8 and IE 10.
  • Mozilla Firefox version 19 is now supported with a patch UFT_00037.EXE

Unified Functional Testing 11.52

A service pack UFT_00022.EXE was released in June 2013 which has changed the version of UFT from UFT 11.51 to UFT 11.52. (This service pack can be installed directly on top of 11.50, you don’t need UFT 11.51 if you have not installed it earlier)

  • This patch has various bug fixes and minor enhancements. With this patch, UFT now fully supports .xlsx format.
  • HP is keeping pace with Firefox. It has added support for Firefox 21 in this pack.
  • A new method was added for Insight objects: ClickSpecial.
  • New versions are supported for SAP CRM, WDA, SAP Portal.
  • New support for numerous SAP Web Dynpro ABAP controls.

Unified Functional Testing 11.53

A service pack UFT_00044.EXE was released in December 2013 which has changed the version of UFT from UFT 11.52 to UFT 11.53. (This service pack can be installed directly on top of 11.50, you don’t need UFT 11.51 or 11.52 if you have not installed them earlier)

  • This Service Pack addresses quality and performance issues found in the 11.50 Major release and its previous service packs, SP 1 & SP 2.
  • This service pack is a mandatory update for all UFT 11.50/11.51/11.52 and Service Test 11.50/11.51/11.52 users.

Unified Functional Testing 12

UFT 12 was released in March 2014. The major new features introduced in UFT 12 were:

  • Better, Faster installer
  • Better ALM authentication
  • Auto Upload of run results to ALM
  • Introducing support to test Safari browser on a remote Mac (in technology preview mode)
  • Support for more technologies

Unified Functional Testing 12.01

UFT 12.01 was released in July 2014. The major new features introduced in UFT 12.01 were:

  • Official support for Windows 8.1
  • Support for Safari on Mac OS is now out of Tech Preview and available for production environment
  • Chrome extension for UFT is available in Chrome Store from now on
  • Better documentation
  • Support for windows run time objects

UFT 12.01 is the latest version available in the market as of August 2014.

[/sociallocker]

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, if you're beginning with QTP take a look at our step-by-step guide. If you're looking for help on QTP certification check the QTP certification mock papers, if you are looking for a more comprehensive training check our online QTP training course.

You can connect with me on my Google+ page.

If you have been working on QTP for some time, you will definitely love these Ways to optimize QTP script performance

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:

66 Comments

  1. Manish Rawat

    I am unabe to compare a bitmap image in a runtime with the one i load rather the bitmap checkpoint gives totally different results every time whenever i am using the same set of values .many times UFT is getting crashed at the checkpoint please suggest better solution to the same i am using trial version after which only i will be buying the licensed version.

  2. DS

    Hi, I have installed QTP 11 on my machine. This is creating a conflict with Oracle SQL Developer. I am unable to open sql developer after installing QTP. Once I uninstall QTP, SQL developer is working. Is there a way to fix this?
    Thanks

  3. Mohd Shafi

    Dear Ankur,
    Thanks for setting up this website I’m new to QTP and learning it now, I’d like to know if could QTP be used to Validate a a xml message against a particulat .xsd schema.
    Thanks
    Shafi

  4. Srikanth K

    hello,

    I am not able to obtain HP Learner’s ID, please help me. Do send me the exact link where i can get it.

    Thank you.

  5. Mohammad Khan

    Hi all, my question is what is the use of recording step to generate scripts in real life situation? How many process possible to create script for QTP? Thanks for the help.

  6. Jas

    Can you please reply to PRAJAKTA’s question as i have the same query/doubt.

    Thanks in Advance :-)

    • @Prajakta, Jas: QTP’s trial version is available for 30 days only. Legally it is not possible to install it again, unless you format the OS.

  7. Subha

    Does QTP support Safari? If so until which version it will support?

    Thanks

  8. banu

    hello,
    I am new to testing, In UFT how to make the IDE(script window) visible while recording.
    Thanks in advance

  9. Amita

    Can you please tell me ? Can I use QTP for embedded testing?

  10. Ankita

    Learn QTP is a very good way to learn QTP.I really find it very useful.Thanks a lot Ankur Sir :)

  11. Kanchan Taktode

    Please Help….it is not recognizing file path for the syntax
    executefile(“path of the file”)

    • Can you provide more information on what error you are getting?
      If it’s just a browser you are opening, try using SystemUtil and also verify you are pulling the correct program file location (program files for 64 bit and program files (x86) for 32 bit, on a 64 bit machine). It could be you are trying to open a 64bit Application or Browser, which QTP/UFT sometimes has issues with (ok, almost always has issues with).

  12. Vijaya R

    Really information.. ..useful..

  13. @guru – did you tried installing latest patch for 11.5?

    It has many fixes. If installing that service pack (patch) did not fixes that issue, then you have to report this to HP.

  14. guru

    Hi

    My appplication is dotnet appln. when i was using it on QTP 11 it was working fine and was identifying all the objects as SWFEdit, SWfButotn etc. But the application got migrated from Windows 2003 server to windows server 2008. and now when i identify the objects it is showing as SWFObject for all the objects. I have installed all the patches like Step 1:- Install QTP_00699
    Step2:- Install QTP_00709
    Step3:- Install QTPNET_00051
    Step4:- Install QTP_00699
    Step5:- Install QTPWEB_00086
    Step6:- Install QTPWEB_00078
    Step7:- Install QTPNET_00120
    Step8:- Install QTPNET_00127
    but still it is not working.

    Can anyone tel me what is the problem..

    • @guru – did you tried restarting the machine and the recording the AUT?
      sometimes, it starts identifying objects correctly after recording

    • 1. did you load the correct add-ins when you started QTP/UFT?
      2. Did you check what object recognition library you have loaded?
      In UFT this is under TOOLS/OBJECT IDENTIFICATION then select ENVIRONMENT.
      Sounds to me like you have .NET windows forms loaded. Try changing it to just WEB.
      3. Always be sure QTP/UFT is loaded before the application is opened.

  15. guru

    Hi ,

    When i open business components in UFT 11.5 and run it , it is not identifying the SWF objects its showing as win objects but when i open new test and then Business componet it identifies objects properly but when i run, it is the same issue. COuld anyone help me regarding this….

  16. esewe

    Internet Explorer 9
    Windows Internet Explorer 9 (abbreviated as IE9) was released to
    the public on March 14, 2011 at 21:00 PDT…..

  17. Nitin Sharma

    Hi Ankur,
    I am working on a javabased desktop application and devloping a framework.Most of the works on javatables.I am facing a problem during identifying javatable.Object spy identify only table but not the childobjects.So,do we need any patch or addin for this.I am using QTP11.5.Thanks in advance

  18. Pedro Romera

    Thanks for the detailed description

  19. Prajakta

    I want to learn QTP and in our project we don’t have automation testing.
    Right now i am using 30days trial version.
    When the 30days period will be over
    1) Is it possible to download and install the trail version again on the same machine i am using right now ?
    2) If not then what should i do for learning QTP ?

  20. Jothi

    Very informative

  21. Prema

    Awesome articles…. Thx a lot

  22. sudheer sastry.n

    thank u sir.

  23. sudheer sastry.n

    hello sir.i already installed qtp11 trial version long back and it was expired.now i want to install uft 11.5 in my system.will i able to install uft without formating the drive?

    • Ankur Jain

      @Sudheer: If you don’t have the license keys – Answer is No.

  24. @ Ankur – Thanks for the reply. However, if record is not supported, shouldn’t it identify Chrome as Browser and not window?

    P.S. I am using UFT 11.52 and the extension in Chrome for 11.52 is enabled

    • Ankur Jain

      @Vijay: Yes.It should be identified as a browser. Please check if your version of Chrome is compatible with Chrome v11.52. Also please post any follow up questions on QTP/UFT forums It’s more manageable there.

  25. @ Ankur – Can you please let us know, what is the meaning of only replay support with Chrome?

  26. Even though this is a QTP forum and not Loadrunner, I believe Sangeetha’s question this falls into the scope of both.
    Think of an application as being two parts.
    First part is what the user actually sees on their computer. It takes input from the user and displays information back. This is what QTP (UFT) tests, the actual client application sitting on the computer.
    Second part is where the client application receives input from the user and sends a request for information to the server which then sends back the required information so the application can display it on the screen. THIS is what Loadrunner tests.
    The interaction between the client application and the server that hosts the information required by the client application.
    Since QTP is a GUI testing solution it can only run one user on each computer. It basically pulls up the application and goes through the script, but the application HAS to be installed and is visible during runtime.
    Loadrunner does not require the application to be visible since it doesn’t care about the GUI but only the calls made from the application to the server. This allows it to run many users on one PC, and hundreds (even thousands if you have the licencing/resources) users in a single test.

    Hope this explains a little.

  27. Harinath

    Very nice info shared about UFT history…Thanks a lot……

  28. Manoj

    Can we fetch ErrorProvider component in QTP for windows application of .net C#. if yes then how?

  29. Mushir Khan

    I believe that sharing knowledge is the best” GOOD DEED ”
    through this article you did it. I got lots of information.
    Thank you and God Bless you.

  30. preethi

    thankx for info,helped a lot

  31. Sangeetha

    Hi,

    Using QTP, we can login to the application using many users. Even during performance testing we create VUsers and login to the application using many users.

    What is the difference in using both the tools. Please explain in Context specific.

  32. juhi

    Highly useful article.. lots of relevant information.

  33. jayaramt

    Really very much useful info…

    thanx for your efforts…

  34. If by “mobile domain” you mean can you use QTP to test your software on mobile devices – yes.
    Here is a great article that discusses one option for this.

    http://www.learnqtp.com/testing-mobile-applications-pda-with-qtp-jamo-meux/

  35. praveen

    Will it support to mobile domain?

  36. praveen

    Nice and very clear information..

  37. Remember, QTP is just a scripting tool. It was created to mimic a Use Case where the user is performing tasks and validating results. It was also created so the “non technical” user can quickly create testing scripts without any knowledge of programming. Sure there are some shortcomings (every testing software does) but with a little “out of the box” thinking these can usually be overcome. It would be nice to be able to choose between VBScript and JavaScript on startup of the application though.
    If you bring Java into the picture (not a scripting language) then you are moving into the realm of JMeter not QTP – and that’s a totally different forum ;)

  38. Nilesh

    QTP should use other scripts like Java…HP should be think for this

  39. vijay

    Very Nice,Very Helpfull

  40. Can Scripts be cross browser compatible? 80% yes.
    We create our scripts against IE 9 and then test and tweak against firefox, chrome and safari. We have found that most of the time the scripts will work with firefox with minimul adjusting of the scripts. Chrome and Safari are a different matter as they have totally different engines. If there is a huge difference we use a seperate OR for FireFox and Chrome or we put object properties into a Java based “global dictionary” we created and pull from there using Xpath within the script and based on the browser we are testing. Through Parameterizing, OR and Global Dictionary it IS possible to use one set of components and scenarios and run them over multiple browsers.

  41. Chaitrali

    Can scripts once written in QTP work on IE / Firefox/ chrome without any changes ? or is there any way that I define the browser in the scripts and while executing pass as a parameter and QTP takes care of it.

    Is the change in the existing scripts a big task ?

  42. Also note: even though it’s called QuickTest Professional and the rest of the world knows it by that name, in your licensing documentation from HP it will show as Funtional Testing or Unified Functional Testing. There is hope they will change this as they have done so already on their support website. I know this lead to a lot of confusion when we were getting Management to sign off on Purchase Orders.

  43. Kumaran

    Very much useful for QTP beginners

  44. sangram

    Ankur,John …thanks for the information.

  45. masthanaiah

    Nice and Very Useful Information

  46. Suresh

    Nice Information Buddy! Thanks for your effort!

  47. Good Article Ankur.
    In regards to licensing – Not only are there Seat and Concurrent licensing, HP also introduced two TYPES of QTP Licenses, Functional Testing and Unified Functional Testing. In other words, Site License and Area License.
    Important Point that these are two very seperate license files and both come in Seat or Concurrent options. Unified Functional Testing licenses cost a little more than Functional Testing licenses since they allow users off site to access concurrent QTP (on one licensing server).

    To use your QTP’s UFT licenses you have to check the “Use Functional Testing License” checkbox in the QTP startup window (where you select your add ins).

  48. Abhijit

    @Ankur+@Aishwarya:IDE=Integrated development Environment

  49. Avi

    Very good and informative.

  50. Nice and very helpfull thanks for such a article full of knowledge represemted in a simple way.

  51. Aishwarya

    hi…can pls any one one say me what is qtp IDE??

    • Ankur

      @Aishwarya: IDE = Integrated Development Environment. The editor where you write/edit your source code and perform debugging tasks. In QTP, it is the expert view.

    • Hi Aishwarya. The QTP “IDE” is basically the User Interface for QTP, or “Integrated Development Environment”. It is from where QTP scripts are created and executed. Hope this helps!

  52. mugaz

    Nice and very useful

  53. Shirish

    Good one :)

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>