Getting Started with QTP : General Introduction
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.