Thursday 10 May 2012

Quality Center and QTP Integration (QC and QTP Connections)

3 comments



Quality Center and QTP Integration
QC and QTP Integration
QTP and QC Integration
Connecting the Quality Center to QuickTest Pro

Lot of Questions on...
·        How do I integrate QTP with QC or QC with QTP?
·        How do we run QTP Scripts using Quality Center…?
·        How do I see my QuickTest Pro script in the Quality Center
·         
So many Questions around QC and QTP…

Let’s see how we integrate QTP with QC.

This is normally a very simple issue to resolve, mainly because it was a process that was just not setup initially.  After the installation of the Quality Center and QuickTest Professional, you still have an add-in to install and establish connection between the tools.  This description is based on the latest versions of QC & QTP which is currently 10.0 for both tools at the time of writing this article; however the process is the same for most of the older versions.

After having installed both the Quality Center (server and client install) and QuickTest Pro locally, you will want to install the “QuickTest Professional Add-in” found in the section “Add-Ins Page > More HP Quality Center Add-ins > HP Tool Add-ins” found off the main Quality Center web page.  

This page is the one found at the “qcbin” URL location (before getting to the login page); like “http://<server reference>/qcbin/”.   This is a local install to your desktop where you QC & QTP are already installed.  Normally you can accept all the defaults for the installation (it is a simple install).



Once the add-in is installed you will now be able to view QuickTest Pro test cases from within the Quality Center.  In the Test Plan the QTP test case will display the icon highlighted in the image below (without the icon there will be a question mark instead). 
Likewise if you click on the “Test Script” tab for the test case the QTP script code will be displayed like in the image.




From QTP, if you want to access the test scripts that have been saved directly in the Quality Center Project, then you must first establish a connection between the two tools. 
In QTP select the following option from the menu bar “File > Quality Center Connection”.  Now fill in each section with the correct information to connect to your Quality Center Project (just like if you were logging in from the Quality Center login page). 
Now you will be able to see the QC Test Plan tree from within QTP.













Now when you want to be able to have the Quality Center kick off QTP scripts and execute the test scripts from QC, then you have to make sure you have the following setting turned on – in the QuickTest Pro tool you will want to invoke the Options Window by selecting “Tools > Options” and then click on the Run item on the left navigation bar. 
The Run pane is displayed on the right side of the window and you need to make sure the option “Allow other HP products to run tests and components” is checked. 
This is not checked by default so you need to make sure you set it so that the Quality Center can control QuickTest Pro (launch it, connect QTP to the QC Project, open the test case and run it).


3 comments:

  1. LoadRunner is the best Performance testing tool to ensure the maximum stress of the system. QTP also a plays a vital role in functional testing, these both simulation is the major testing tool in the software industry.

    Loadrunner Training in Chennai
    Loadrunner Training

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete

Thursday 10 May 2012

Quality Center and QTP Integration (QC and QTP Connections)




Quality Center and QTP Integration
QC and QTP Integration
QTP and QC Integration
Connecting the Quality Center to QuickTest Pro

Lot of Questions on...
·        How do I integrate QTP with QC or QC with QTP?
·        How do we run QTP Scripts using Quality Center…?
·        How do I see my QuickTest Pro script in the Quality Center
·         
So many Questions around QC and QTP…

Let’s see how we integrate QTP with QC.

This is normally a very simple issue to resolve, mainly because it was a process that was just not setup initially.  After the installation of the Quality Center and QuickTest Professional, you still have an add-in to install and establish connection between the tools.  This description is based on the latest versions of QC & QTP which is currently 10.0 for both tools at the time of writing this article; however the process is the same for most of the older versions.

After having installed both the Quality Center (server and client install) and QuickTest Pro locally, you will want to install the “QuickTest Professional Add-in” found in the section “Add-Ins Page > More HP Quality Center Add-ins > HP Tool Add-ins” found off the main Quality Center web page.  

This page is the one found at the “qcbin” URL location (before getting to the login page); like “http://<server reference>/qcbin/”.   This is a local install to your desktop where you QC & QTP are already installed.  Normally you can accept all the defaults for the installation (it is a simple install).



Once the add-in is installed you will now be able to view QuickTest Pro test cases from within the Quality Center.  In the Test Plan the QTP test case will display the icon highlighted in the image below (without the icon there will be a question mark instead). 
Likewise if you click on the “Test Script” tab for the test case the QTP script code will be displayed like in the image.




From QTP, if you want to access the test scripts that have been saved directly in the Quality Center Project, then you must first establish a connection between the two tools. 
In QTP select the following option from the menu bar “File > Quality Center Connection”.  Now fill in each section with the correct information to connect to your Quality Center Project (just like if you were logging in from the Quality Center login page). 
Now you will be able to see the QC Test Plan tree from within QTP.













Now when you want to be able to have the Quality Center kick off QTP scripts and execute the test scripts from QC, then you have to make sure you have the following setting turned on – in the QuickTest Pro tool you will want to invoke the Options Window by selecting “Tools > Options” and then click on the Run item on the left navigation bar. 
The Run pane is displayed on the right side of the window and you need to make sure the option “Allow other HP products to run tests and components” is checked. 
This is not checked by default so you need to make sure you set it so that the Quality Center can control QuickTest Pro (launch it, connect QTP to the QC Project, open the test case and run it).


3 comments:

  1. LoadRunner is the best Performance testing tool to ensure the maximum stress of the system. QTP also a plays a vital role in functional testing, these both simulation is the major testing tool in the software industry.

    Loadrunner Training in Chennai
    Loadrunner Training

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete