QTP – Installation, Sample Applications, Add-ins

Explanation whatever given here is with respect to QTP 9.2.  Information on QTPs other versions such as 9.5, 10, and 11 will be provided in the future posts.

Installation of QuickTest Professional 9.2:

Double click the Setup.exe file in the QTP installation disk. Click Next and provide the necessary licensing information. This installs the QTP on the required machine. If you are setting up floating license, then the QTP server needs to be setup first and then server information is provided in each of the client machines.

Let us have a look at the below two images:

licenseQTP

As in the above picture select Concurrent license and then click Next.

concurrentQTP

In the Next popup input the server name and click Check Connection.  If the QTP machine is able to identify the server properly then click next and install the floating / concurrent license.

Sample Applications:

QTP installation provides two sample application which can be utilized to learn test automation. First one is a windows based application (Flight) and this can be used to learn QTP with respect to windows applications. The second one is a web application (Mercury Tours web site) and this can be used to learn test automation using QTP with respect to web applications.

Flight:

Click on Start –> Programs –> QuickTest Professional –> Sample Applications –> Flight

This opens the Flight sample application.

flight

In the Agent Name field type Admin (any name can be used) and in the Password field type mercury, then click OK. Application will be navigated to the below screen.

flighreservation

This is a simple windows based application which helps in reservation of flights. Using this application what we can learn is different types of windows objects and then methods QTP provides to automate them. We will refer to this application in the future posts for learning various automation topics.

Mercury Tours Web Application:

This application is not installed on the local computer and internet connection is needed to open this web site.

Web site URL:  http://newtours.demoaut.com/

Using this application we can learn basics of test automation with respect to web applications. But real time applications will be having much more complex user interface controls than what is presented on the sample application.

mercurytours

We need to draw some end-to-end scenarios from these applications and try to automate them. By this way we will start learning the object identification, record and play back, etc.

QTP Add-Ins:

  1. Web
  2. Visual Basic
  3. Active X

These are the three Add-ins which are loaded by default. Below are the other Add-ins available to support the automation of other technologies (i.e. Java, .Net, Oracle forms, PeopleSoft, etc)

  1. Java Add-in
  2. .Net Add-in
  3. Siebel Add-in
  4. Stingray Add-in
  5. Terminal Emulator Add-in
  6. VisualAge Smalltalk Add-in
  7. Web Services Add-in
  8. Oracle Add-in
  9. SAP Add-in
  10. PeopleSoft Add-in

These are all different Add-ins available for QTP 9.2. However, QTPs newer versions have come up with some more add-ins to support latest technologies such as Silverlight, WPF, Flash / Flex, etc.

Comments 4

  • I am trying to figure out how to add Java and Oracle add-in on the trial version of UFT. How will i go about adding these applications to this tool?

  • pls explian how to install sample flight application to learn uft 12.01

    • Click on Start –> Programs –> QuickTest Professional –> Sample Applications –> Flight

      I had the same problem like you and I follow this instruction and I can confirm you that it’s works for sure

  • Great Guy!!!!

    Only with these guide, you’ve changed my life . I’ve searched a lot Mercury flight (I installed HP UFT but I didn’t get well how to install or find Mercury) to practice with HP UFT just to improve me in the future with this tool.
    Thanks a lot

    God bless you man

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.