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:
As in the above picture select Concurrent license and then click Next.
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.
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.
Click on Start –> Programs –> QuickTest Professional –> Sample Applications –> Flight
This opens the Flight sample application.
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.
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.
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.
- Visual Basic
- 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)
- Java Add-in
- .Net Add-in
- Siebel Add-in
- Stingray Add-in
- Terminal Emulator Add-in
- VisualAge Smalltalk Add-in
- Web Services Add-in
- Oracle Add-in
- SAP Add-in
- 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.