13

QTP with QualityCenter

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: QTP with  QualityCenter
Page 2: QTP with  QualityCenter

What is Quality Center

Quality Center Overview Connecting Quick Test to Quality Center Recording a script in QTP Saving Tests to a Quality Center Project Enabling Quality Center to Run Tests on a Quick Test Computer Running a Test Stored in a Quality Center Project Submitting Defects During a Run Session Disconnecting Quick Test from Quality Center

Session Wrap-Up

pgorantla.blogspot.com

Quality Center Overview

Page 3: QTP with  QualityCenter

Provide centralized Quality solution .

Provides an intuitive and efficient method for scheduling and running tests, collecting results, analyzing the results, and managing test versions .

It helps you to maintain a project of all kinds of tests.

A system for tracking and monitoring defects closely from initial detection until resolution

pgorantla.blogspot.com

Quality Center Overview

Page 4: QTP with  QualityCenter

Start QTP and from Tool option select Quality Center.

In the server connection area in server text box enter http://<machine name>/<tdbin>

and click on connect In Project Connection area,

click on connect after selecting project.

pgorantla.blogspot.com

Quality Center Overview

Note:To work with quality center make sure you have TD (Test Director) and Test Director “Add-in for QTP” install on your

system. To install Add-in. Go to start->Test Director->Test Director 8.0->Add In page

• Select Add in page option. And a web page would display select More Test Director Addins. A page would be displayed and now select Quick Test Professional/Astra Quick Test Add-in option and Install add-in.

• Now create a project in TD (Test Director) that would manage all tests scripts and create a folder in the test plan tab that will contain scripts.

Page 5: QTP with  QualityCenter

Click the Record button or choose Test > Record.

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "ansh3"

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "42e60c5e3c6d48e1f992f755d59ce198"

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 32,2

Browser("Welcome: Mercury Tours").Dialog("AutoComplete").WinButton("No").ClickBrowser("Welcome: Mercury Tours").Page("Find a Flight:

Mercury").WebList("passCount").Select "3"Browser("Welcome: Mercury Tours").Page("Find a Flight:

Mercury").Image("findFlights").Click 63,6Browser("Welcome: Mercury Tours").Page("Find a Flight:

Mercury").WebRadioGroup("outFlight").Select "Blue Skies Airlines$191$723$7:08$"Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Link("SIGN-OFF").ClickBrowser("Welcome: Mercury Tours").Page("Sign-on: Mercury Tours").Sync

pgorantla.blogspot.com

Quality Center Overview

Page 6: QTP with  QualityCenter

Connect to a Quality Center server and project. As explain above.

In Quick Test, click Save or choose File > Save to save the test.

pgorantla.blogspot.com

Quality Center Overview

Page 7: QTP with  QualityCenter

To enable remote QualityCenter clients to run tests

onYour Quick Test computer: Open Quick Test. Choose Tools > Options

or click the Options toolbar button. The Options dialog box opens.

Click the Run tab. Select the “Allow other

Mercury products to run tests and components” check box.

pgorantla.blogspot.com

Quality Center Overview

Page 8: QTP with  QualityCenter

Click on Test->Run

To save the run results, you specify a name for the run session and a test set in which to store the results.

pgorantla.blogspot.com

Quality Center Overview

Page 9: QTP with  QualityCenter

Run the test and result window would displayed

Select add defect option given in the tool bar just near to quality center icon a window get open as shown below

pgorantla.blogspot.com

Defect Option

Quality Center Overview

Page 10: QTP with  QualityCenter

pgorantla.blogspot.com

Quality Center Overview

Page 11: QTP with  QualityCenter

Tools > Quality Center Connection or click the Quality Center Connection toolbar button.

In project connection area click on Disconnect.

In server connection area click on Disconnect.

pgorantla.blogspot.com

Quality Center Overview

Page 12: QTP with  QualityCenter

pgorantla.blogspot.com

Q & A….

Quality Center Overview

Page 13: QTP with  QualityCenter

Quality Center provides an intuitive and efficient method for scheduling and running tests, collecting results, analyzing the results, and managing test versions.

It also helps you to submit and track defects. So enabling you to monitor defects closely from initial detection until resolution

Select the “Allow other Mercury products to run tests and components” check box.

To work with quality center make sure you have TD (Test Director) and Test Director “Add-in for QTP” install on your system and a project in TD

pgorantla.blogspot.com

Quality Center Overview