Saturday 16 August 2014

Integration of QTP 9.2 Automation test Scripts with QualityCenter 9.2



INTRODUCTION


PRE-REQUISTIES FOR INTEGRATION


To enable remote QualityCenter clients to run tests on your Quick Test computer:
1.     Open Quick Test.
2.     Choose Tools > Options or click the Options toolbar button. The Options dialog box opens.
3.     Click the Run tab.
4.     Select the Allow other Mercury products to run tests and components check box.








The following Addin need to be installed to connect Quality center from QTP


·        Quality center System Test Remote Agent

·        QualityCenter Integrations Matrixes: 8.2 SP1 (Version supportedQuick Test Professional 8.0.1, 8.2, 8.2 SP1, 8.2 SP2, 9.0, 9.1, and 9.2 with Mercury Quality Center 8.2 SP1.













Click on Add-Ins Page



Click on Quality center System Test Remote Agent






Click on Download Addin Quality center 9.2



Click on Quick Test Professional Add-in

Click on Addin for Quality center 8.2 SP1 ->This addin supports integration for 9.2



If the above mentioned setting are not done then while connecting to Quality center from QTP the below error will be thrown



 



STEPS TO INTEGRATE QTP TEST SCRIPTS WITH QUALITYCENTER


Ø Login to Quality center Navigate to Test Plan->Create Test folder (say Sample Test)


Ø Navigate to Test Lab->Create Test folder (say Sample Test)



Ø Now open the Test script in QTP 9.2 ->Navigate to File ->Quality Center Connection



Ø Quality center Connection Server connection Dialog box pops up, enter the Quality center Link and then Click on Connect button.


Ø Quality center Connection credential Dialog box pops up, in Authentication section enter the User name password of QualityCenter -> Click on Authentication button 



Ø In Login to Project  section enter the Domain and Project -> Click on Login button 



Ø Click on Close




Ø Navigate to File->Save As



Ø Save test Dialog box opens Click on Quality Center Button on the bottom


Ø Save test to Quality center dialog box opens showing the folder structure present in Quality center Test Plan


Ø Select the Test folder created (Say Sample Test) and Click OK



Ø Navigate to Quality center Test Plan ->Sample Test Folder contains the automation Test script


Ø Navigate to Test Lab ->Sample Test Folder (created earlier) Click on Create Test set Icon  New Test Set Window pops up Enter the Test set name (say Testing) and Click on OK


Ø Click on Select Test The test plan tree structure appears on the right corner->Select the Test script “Test” under Sample Test folder of Test plan and Move it to Test Lab

Ø The Test Script “Test” comes under the Test Set Testing



Ø User will be able to run the automation Test script from QualityCenter




 

CONCLUSION


            The above mentioned steps can also be followed for integrating Mercury Quick Test Professional 9.2 and Mercury Quality Center 9.2


0 comments :

Post a Comment