By Anish Pillai Anish Pillai Posted under QTP Tutorials for Beginners

Getting Started with QTP : General Introduction

1 Flares Twitter 0 Facebook 0 Google+ 1 LinkedIn 0 Email -- 1 Flares ×

This article is basically for those who are completely new to QTP and are looking out for some very basic information like what QTP is all about, what it can do and why users can use QTP. The article is the first in a series of articles with an aim to help beginners learn the basics of QTP.

What is QTP?

QTP or QuickTest Professional is an automation tool which is primarily used for functional and regression testing. With QTP, you can automate (write code for) the manual steps that you would perform to test a particular scenario. As an example let us consider that you want to verify that the log in functionality of your web application is working fine. Now to test this scenario manually, you would generally follow these steps –

  • Open web browser and enter the URL of the application.
  • Navigate to log in page.
  • Enter user id & password and then click on Log in/Submit button.
  • Verify that log in is successful.

Now consider a case where you have to test this functionality say a 100 times or maybe you want to test the log in functionality for 100 different users. Doing this same thing manually again & again is a time consuming & boring activity. Now what if you can automate this entire process? What if you can write some code, which can replicate your actions that you do manually (like opening the application URL in web browser, entering user id & password, hitting log in button and verifying successful log in).

This is exactly what QTP would do for you. 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 data (as per your wish).


QTP was originally developed by Mercury Interactive Corporation and it was known as Mercury QuickTest Professional. In the year 2006, Mercury Interactive was acquired by HP and from then onwards QTP is available as HP QuickTest Professional. The latest version of the tool is Version 11.00 which was released in 2010. The previous version i.e. QTP 10 was released in 2009.

Different Types of Applications that can be tested using QTP

QTP can be used only on Windows Operating System. QTP cannot be installed on other operating systems such as Unix, Linux etc. However there are many 3rd party tools such as Putty, Hummingbird Host Explorer etc using which you can access Unix / Mainframe server in Windows OS. QTP can be configured to work with these 3rd party tools and thus in a way can be used for testing applications in Mainframe/Unix etc.

QTP can be used to automate a variety of applications built using different technologies. It is used most commonly for web applications. Other than web applications QTP can be used on applications developed using Java, .NET, VB, SAP, Siebel, Mainframes, Oracle, Delphi, WPF, Ajax, Silverlight, People Soft, VisualAge Smalltalk etc.

Primarily QTP is used for automation of GUI based application but it can also be used for Non-GUI based testing such as web services testing, database testing and file system operations.

QTP Download/License Information

HP QuickTest Professional is a licensed software available from HP Software Division. QTP has 2 different license modes – Seat License, in which every system where QTP is installed has a separate license & Concurrent License where QTP is installed on individual machines but the license is installed on a license server. Here, the individual machines should have access to the license server, then only they can use QTP.

Other than the licensed version, the trail version of QTP is also available for download from HP website. The trial version of the software is available for 30 days.

If you enjoyed this article, you can join our blog to get free email updates directly in your inbox.

1 Flares Twitter 0 Facebook 0 Google+ 1 LinkedIn 0 Email -- 1 Flares ×
  • Thanks for sharing.It's very useful for all.

    <a href="" target="_blank">QTPbook</a>

    • Thanks.. 🙂

      • maeuri

        Hi anish,i have done mca 2011 passout, but i didnot got job ,so now if i go for testing is it good for me because there is a gap of round 3year.will i can get job ,i dont have strong programming should i go for testing .can i self learn testing from internet or should go for coaching and which course should i go advice me please.

  • Test

    Very useful thanks for sharing.

    • Anish10110

      Thanks for the good words.. Keep visiting.. 🙂

      • Bala

        Anish – you are really great..i don't know how come you are this much active.. Also very kind of you….I think you don't the word "hesitation"

  • saurabh

    thats really helpful.. keep up the good work! 🙂

    • Anish10110

      Thanks Saurabh… 🙂

  • Saurabh

    One question Anish…. could you please advise about the minimum system requirement to install QTP 11.0

    • Anish10110

      Hi Saurabh,

      This is what is provided in QTP documentation from HP website.

      Computer/Processor: Pentium IV or higher microprocessor (minimum 1 Ghz)
      Operating System: Windows XP Service Pack 2
      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).

  • Vanitha

    Thanks for the sharing .Its really very helpful

    • Anish10110

      Thank you Vanitha.. 🙂

  • pupun

    Hi Anish,

    What kind of automation we can have using QTP for file system operations? What are the limitations we will face? Any other info also will be helpful..


    • Anish10110

      Hello Pupun,

      QTP uses VBScript and VBScript itself supports a lot of file system operations 🙂
      You can do various operations on Folders, Files, System Drives (C: , D: etc). Some of the common operations are –

      1) Creating, adding, or removing data, and reading files.
      2) Moving, copying, and deleting files
      3) Gain information about the various drives attached to a system, either physically or over a network like total size of the drive, how much space is available on the drive, what type of drive it is, such as removable, fixed, network, CD-ROM, or RAM disk etc.

      Other than this also, there would be various other things that you can do. For a complete list of operations, you would need to look for VBScript Reference and libraries.

      As per the limitations, I'm not aware of any major ones. There might be some minor limitations on the function level such as what certain functions can do and cant do.

  • Qtp Beginner

    This was useful. One quick question Anish on following information which is mentioned in above article.

    Information :- Concurrent License where QTP is installed on individual machines but the license is installed on a license server. Here, the individual machines should have access to the license server, then only they can use QTP.

    Question :- Maximum how many individual machines where QTP is installed and which has access to the license server can access 'Concurrent License' at a time ? is there any restriction on number of users in Concurrent License case ?

    • Anish10110

      Hello Qtp Beginner,

      I'm not aware about the maximum number of QTP concurrent licenses but this thing works like this.

      For installing QTP, you can install it on as many machines as you want. 10, 50, 100, 1000 or whatever. Because the software can be freely downloaded from HP website, only thing is that you can't use this software without the license.

      Now assume that you have installed QTP on 100 machines in your company. But the company has purchased a concurrent license for only 50 users. So this means that at a time only 50 users can simultanesouly use QTP after connecting thru the server. 51st user will be able to connect only when some one else stops using QTP.

  • anshu

    Hi Anish,Good article of gr8 help!
    I have been working as a manual tester for about about 1.5 yrs.Want to switch to automation.
    My project does not have any automation.
    So is it possible to switch to automation testing by self learning QTP.

    • Anish10110

      Hi Anshu..

      Frankly speaking, self learning will help you but only till a certain extent.. It would help you clear the basics (which is the first thing that should be done) and all but there any many other things also that you get only when you work on a live project. My advice would be to learn QTP on your own first. Then try to get into some project with QTP. That would be the best method to learn the tool.

      What do you think about this?

      • anshu

        Hey Anish,Thanks for your advice!
        Yes will be working on my QTP basics.
        Getting a automation project in my company will be difficult for me as of now,but i have got qtp installed in my system for learning purpose.
        Since i am novice can u suggest me anything else i can do?

        • Anish10110

          First and foremost thing would be to go through QTP help contents and practice all the stuff on the sample Web Applications (both Window and Web). That would really help you grasp the basics.

          • anshu

            will start working on it.

          • Anish10110

            Cool.. :):)

  • Arunkumar

    thanks for sharing ..very helpful

  • Ranjana

    Very informative article. You have been able to do this since you really understand and not copying and pasting like other sites. Thanks. Ranjana

  • Rajendra

    I am just new to the automation testing domain & have got chance to work on QTP could anyone tell me, how would be the career path if I continue working on the same.

  • shravan

    very helpful thank you

  • Suraj

    How can we invoke mainframe application using QTP? can we write some VB scripting or which way can we proceed. Please someone guide me. Thanks!!

  • H Nayak Nayak

    i'm hanumantha MCA fresher i want learn Manual Testing and QTP testing in depth please provide me study martial with programming examples of both manual and QTP
    send me a study martial to this Email-id: please please help me

1 Flares Twitter 0 Facebook 0 Google+ 1 LinkedIn 0 Email -- 1 Flares ×