Upload
paritosh-sharma
View
216
Download
0
Embed Size (px)
Citation preview
8/2/2019 Key Features of Quality Center
1/3
Key Features of Quality Center:
Following features render Quality Center as a most versatile test management tool.
1) Maintains a Common Repository
2) Offers Automatic Traceability Matrix
3) Excellent Bug Tracking facility
4) Offers Automatic Reports and Graphs generator
How to use the Quality Center:
Broadly we can bifurcate our process of using Quality Center into following four Modules or phases.
1) Requirements Module
2) Test Planning Module
3) Test Execution Module
4) Defects Management Module
Q: What are the prerequisites to connect QTP with QC?
A:
1. Check Allow other Mercury products to run tests and components presentunder Tools > Options > Run in QTP
2. If you are running the tests on the same computer where you have QC clientinstalled, then you will need:
1. QTP Connectivity Add-In2. QTP Add-in
3. If you are running the tests on the differentcomputer than where you have QC clientinstalled, then you will need:
1. QTP Add-in where QC client is installed.2. QTP Add-in and QC connectivity Add-in where QTP is installed.
4. QC connectivity can be found at QC server URL > Add-Ins Page link > QCConnectivity link > Download Add-in
5. QTP Add-in can be found at QC server URL > Add-Ins Page link > More QC Add-inslink > Download and install QTP Add-in according to its version.
Q: How can we connect QC with QTP usingAutomation Object Model(AOM)?A:
Use TDConnection Object.
Example:
Create the QuickTest Professional application object.
Set qtqcApp = CreateObject(QuickTest.Application)qtqcApp.Launch Launch QTP
qtqcApp.Visible = True Make it visible
Connect to Quality Center
http://mercuryquicktestprofessional.blogspot.com/2008/05/qtp-aom-and-how-to-write-scripts-in-aom.htmlhttp://mercuryquicktestprofessional.blogspot.com/2008/05/qtp-aom-and-how-to-write-scripts-in-aom.htmlhttp://mercuryquicktestprofessional.blogspot.com/2008/05/qtp-aom-and-how-to-write-scripts-in-aom.htmlhttp://mercuryquicktestprofessional.blogspot.com/2008/05/qtp-aom-and-how-to-write-scripts-in-aom.html8/2/2019 Key Features of Quality Center
2/3
qtqcApp.TDConnection.Connect , ,
, , ,
qtqcApp.TDConnection.Connecthttp://QualityCenterServer/tdbin,
FR, Flights, learnqtp, welcome, False
Q: How can we automatically connect QTP with QC on start up?
A: Go to File > Quality Center Connection. Check the box markedReconnect to server on
start-up.
Q: What if QTP tries to connect with QC automatically but QC logincredentials had changed?
A: Change the following properties from 1 to 0. They are present in mic.ini file under QTP
installation generally found under C:\Program Files\Mercury Interactive\QuickTest
Professional\bin
1. LoginAutomatically=02. ReconnectToDB=03. ReconnectToServer=0
Q: How can we access Quality Center Open Test Architecture (OTA)using AOM?
A: Using QCUtil object (AKA TDUtil for QTP 6.5 and backwards). You can find details of all
associated properties like CurrentRun, TestRun, Current Testset, CurrentTestSetTest,
IsConnected, QCConnection under QTP Help > Quick Test Object Model Reference > UtilityObjects> QCUtil Object.
Q: Where can we find all methods and properties present underTDConnection Object?
http://qualitycenterserver/tdbin%22http://qualitycenterserver/tdbin%22http://qualitycenterserver/tdbin%22http://qualitycenterserver/tdbin%228/2/2019 Key Features of Quality Center
3/3
A: Refer QTP Help > QTP Advanced References > QuickTest Automation > TDConnection
Object.
Q: How can we upload QTP scripts to QC using AOM?
A: Once connected to Quality Center, open the test using AOM and save it to QC.Example:
qtqcApp.Open C:\Temp\Project\QTPTestScript1, True
Get the Test object
Set qtqcTest = qtqcApp.Test
Use the SaveAs method to upload the test to Quality Center
qtqcApp.Test.SaveAs [QualityCenter] Subject\FolderName\QTPTScript
Q: Which version of QTP is compatible with which version of QualityCenter?
A: QC 9.0 integrates with QTP 8.2 SP1, QTP 8.2 SP2, QTP 9.0, QTP 9.1 and QTP 9.2. To
check the compatibility of your QTP version, check out the ReadMe that comes pre-installed
with QTP
Q: Can we record Quality Center operations with QTP?
A: Yes, only with QC 9.2 and above. Use .NET Add-in.
Q: Can we schedule a test run from Quality Center?A: Yes, use Test Run Scheduler utility that comes with QC.
Q: Is there version control in QC with QTP?
A: Yes, QTP 10.0 provides you the version control feature under the name ofQuality
Center Version Control present under File Menu. Earlier versions of QTP can work with
3rd party version control tools.
Q: I am a beginner to Quality Center. Is there any help available?A: Yes. Check this site onQuality Center. It has many step-by-step articles to Learn Quality
Center.
http://www.learnqualitycenter.com/http://www.learnqualitycenter.com/http://www.learnqualitycenter.com/http://www.learnqualitycenter.com/