You are on page 1of 95

hp Quality Center Overview

by Venu Naik Bhukya e-mail: nuve1284@gmail.com

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Agenda

Quality Center Introduction

Understanding the Quality Center Interface


Understanding Requirement Analysis Module Of Quality Center Understanding the Test Plan Module of Quality Center

Understanding the Test Lab Module of Quality Center


Understanding the Defects Module of Quality Center Generating Reports Generating Graphs

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center - Introduction

Quality Center is an enterprise-wide application that is based on Java 2, Enterprise Edition (J2EE)technology Quality Center streamlines the quality management process from requirements gathering through planning, scheduling and running tests, to defect/issue tracking and management in a single browser-based application

Quality Center supports high levels of communication and collaboration among IT teams
Quality Center enables your organization to digitize specific quality processes and procedures within the larger application lifecycle

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center - Usage

Business analysts define application requirements and testing objectives Testing team members design test plans and develop test cases Test automation engineers create automated scripts and store them in the repository Testers run manual and automated tests, report execution results, and enter defects Developers review and fix defects logged into the quality center Project managers creates testing status reports and manage resource allocations

Product managers decide whether an application is ready to be released

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center - Usage


Quality Center has the following default user groups

User Group

Permissions
Administrator group members will have full access to
the quality center Have full access to all QC modules

Administrator
Project Manager

Tester Developer Viewer

Have full access to all QC modules Have modifying access for QC modules The group has viewer access to the Quality Center Modules

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center access

http://<<Server Name>>:<<port>>/qcbin/start_a.htm
User Name: xvb Password: ****

Domain: yyyyy Project: zzzzz


QC URL:

http://qc.xxx.com:8080/qcbin/start_a.htm

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center access

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center - Features

Web based application with the following features:

Requirement Management
Test Plan Test Resources Test Lab Defects Management

Dashboard

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Quality Center - Features

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirement Specification (Requirements Module)

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Testing scope

Gather all available documentations of the product under test

Documents include:
Business Requirements System Requirements Specifications Design Documents

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Defining Requirements

Tester creates a hierarchical structure, defining the requirements For example: The requirement topic Application Security for a Airline reservation system may be broken down into the following:

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Analyze Requirements

QA managers review the requirements

The requirement is assigned a reviewed status if it is approved

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirement Module - Requirement Grid View

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirement Module Coverage View

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirement Toolbar

The Requirement toolbar contains the following buttons: New Requirement: Adds a new Requirement New Child Requirement: Adds a new Requirement to the requirement tree Cut: Moves a new Requirement to a new location in the requirement tree Copy: Copies a selected Requirement to another location in the requirement tree

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

New Requirement

Click the new requirement button the new requirement tab opens up

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

New Requirement

Name the requirement Fill the details for the requirement Fill the description using the Description Pane Add an attachment to the requirement using the Attachment Button

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirement Details

Author

Creation Date, time, etc


Direct Cover Status States how its linked to the tests. By default it is Not Covered Not Covered means it has not been linked to any test

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding an attachment

Attaching a file

Attaching a snapshot
Attaching a URL Attaching System Information Attaching an Image from the clipboard

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Attachments

Attachments are managed using the Attachments tab

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Modifying Requirements

Renaming Copying Deleting Modifying

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Planning Tests (Test Plan Module)

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Defining Test Strategy

Outline a strategy for achieving your test requirements. Ask yourself two basic questions.

How should you test your application?


1. 2. Which testing techniques will you use( stress test, security tests, performance, functional load tests etc.)? How will you handle the defects (severity classification, authorization to open and close defects etc.)?

What resources do you require? 1. 2. What resources do you require in order to test (personnel, hardware etc.)? When will the various tasks be completed?

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Defining Test Subjects

Consider the hierarchical relationship of functions in your application

Divide the functions into subjects and build a test plan tree representing you applications functionality.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Planning Tests

Plan the tests for each subject in your test plan tree Decide which type of tests to create for each subject Then create the tests and assign them to each branch of test plan tree.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating requirements coverage

Link each test in the test plan tree with a requirements in the requirements tree By defining the requirements coverage for a test you can keep track of the relationship between the tests in your test plan and your original testing requirements

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Designing Test Steps

Design the Tests in your test plan tree Create test steps describing the operations to perform and the expected results After you design the test steps decide whether to perform the test manually or to automate it

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Automating Tests

After designing test steps decide which steps to automate For Automated tests you can design test steps and automate them by generating a test script The test script can be for Win runner, QTP, Load runner or Visual API-XP

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Analyzing Test plan

Review Test Plan to determine how well it meets the goals that were defined at the beginning of Testing process

Analyze the Test plan by generating reports and Graphs

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Test Plan - Tree View

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Test plan Grid View

Displays all the test in a QC project. Each column is a separate data item

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating Test Plan Tree


To create a test plan tree: Choose the Subject Folder in the test plan tree Click the New Test Button or choose the Test> New Folder In the Description tab, type the description of the folder Click Attachments tab to add an attachment to the new folder if necessary Repeat above steps to create additional folders and subfolders

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding Tests to Test Plan tree

To add a new test: Choose the Subject Folder in the test plan tree Click the New Test Button or choose the Test> New Test Select the test type from the type list.

In the Name box enter the Test Name.


Click ok on the dialog box. Enter the test details in the Details tab Click on Attachments tab to add attachments to the folder

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating and Viewing Requirements Coverage

In this section we will look into the following things: Linking Requirements to test Linking Tests to a Requirement Analyzing Test Coverage

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Linking Requirements to a Test

Navigate to the Test Plan page In the Tree view select the Test for which a requirement is to be linked Navigate to the t coverage tab for the selected test Click on the Select Requirement button

In the requirements tree displayed on the right side of the window, select the requirements to be linked with the test
Click on the Add to Coverage button to link the requirement with the test

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Linking Requirements to a Test

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Linking Tests to a Requirement.

Navigate to the Requirements module

Display the requirements tree in coverage view


Select the requirement in the requirement tree view on the left side of the window

Select the Test in the Test Plan tree on the right side of the window
Click on the Add to Coverage button on the right pane to add the test to the requirement

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Analyzing Test Coverage

Make sure that the Requirements module is displayed

Display the Requirements tree in coverage analysis view


Select the Requirement for which you want to view the coverage analysis Right click on the requirement and select the coverage analysis option

Click on the failed area of the graph to view the child requirements with failed status
Click on show tests coverage link to view the coverage chart

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Building Tests

One can design a test using the design steps tab in the test plan tree:

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Designing Test Steps

To create a test step:

Select a test plan tree and click the design steps tab
Click the new step button or right click in the design steps the design steps editor will open

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Designing Test Steps

Type the Description and expected result Click New step to add additional steps Click Ok to close design step editor and add the steps You can associate an attachment for a test step

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Managing Test Steps

User can do the following modifications to test steps:

Edit Test Steps


Reorder Test Steps Renumber Test Steps Resizing Test Steps Arranging Design step columns Deleting Steps Copying Steps Finding and Replacing Test steps

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating Automated Tests

To generate an automated test script:

Choose the test plan tree, choose the manual test that you want to automate
Click the design steps and click the generate script button Choose the automated script type to convert to test type : WRautomated, LR-Scenarios, QTP

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating Automated Tests

The Test plan module uses the steps of the selected steps to create an automated test script. In the test plan tree, note that the manual test icon is replaced by the automated test icon Click the test script tab to view the test script For displaying the tool in the testing tool Click the Launch button

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Test Execution (Test Lab Module)

Executing the Test consists of following stages:

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating Test Sets

Start by creating test sets and choosing which tests to include in each test set A test set is a group of tests in Quality Center project designed to achieve specific testing goals

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Scheduling Test Runs

Quality Center enables to control the execution of test set

One can set condition and schedule the date and time for executing the tests
One can determine that one want to run test 2 only after test 1 has finished and run test 3 only if test1 passed

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Manually

Once test set are defined, test execution can start When a manual test is executed, the test steps are passed or failed on each step, depending on the actual and expected result

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Tests Automatically

When an automates test is run the testing tool opens automatically, runs the test and exports the test results to Quality Center

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Analyzing Test Results

After a test run, while analyze the test results, one has to identify whether a defect has been detected in the application or if the expected results of the test need to be updated, if a defect has been found one can create a new defect and link it to the test run also one can link the existing defect with the test run

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

The Test Lab Module

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Test Sets Toolbar

New Folder: enables you to create a new test set folder. The folder is added to the test set tree in the left pane New test set: Opens the new test set dialog box, enabling you to create a new test set in an existing folder Delete: Delete folder and test set from the test set tree, Deletes test set from the test set grid Refresh Selected: refresh the currently selected test set tree Set Filter/Sort: opens the filter dialog box, enabling to sort and filter test set Clear: Clears any filter or sorts that has been applied

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

The Execution Grid

In the execution grid, the test data is organized and displayed in a grid each line in a test grid displays a separate test record

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating Test Sets Tree

One can define a hierarchical structure for creating the test sets

Choose View> test sets tree to display the test set tree view
Select the root folder Folder dialogs opens up Type the folder name as per the naming convention To create additional folders one needs to repeat above steps

After a test sets tree, one can add test sets to the folders

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding a Test Set

To add a test to a test set grid

Display the test set tree by choosing View> test set tree. In the test sets tree and choose the test sets> new test set
Displays the test set grid by choosing View> test set grid. Click the new test set button or choose the test set > New test set

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding a Test Set

If a test set dialog box is opened from the test set grid, click the browse button in the test set folder and chose a folder Type the test set name as per the naming convention Type the description of the test set Click ok to add the test set

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding Tests to a Test Set

After you have defined a test set, you can add tests from the test plan tree, or tests covering requirements from the requirements tree, to the test set To add tests to a test set: Select a test set from the test sets tree or test sets grid. In the Execution Grid tab or Execution Flow tab, click the Select Tests button. By default, the right pane displays the test plan tree in the Test Plan Tree tab. If you click the Requirements Tree tab, the tests are displayed according to associated requirements In the Test Plan Tree tab, select a folder or test to add to the test set. Note that if you select a folder, all of the tests in the folder are added to the test set. Alternatively, in the Requirements Tree tab, select a requirement or test to add to the test set. Note that if you select a requirement, all of the tests that are associated with the requirement are added to the test set Click the Add Tests to Test Set button. If prompted, click Yes to confirm

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Managing Test Sets

During the testing process :

One can search for test set


Remove tests from a test set Delete folders or test set Create folders or test sets One can also delete test run results from a test set

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Manually

In the execution grid tab or the execution flow tab, select the test you want to run manually To run a single manual test select the test and click the run button the manual runner dialog box opens To run two or more tests, select the test and click the run button

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Manually

To run a test manually, click the run arrow, the manual runner dialog opens one can update the Run Name and the tester name in the Manual Runner details screen

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Manually

Click Begin Run button after the settings are made.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Manually

Open the application being tested and execute the first step of the test Click Pass Selected if the actual result is the same as the expected result A green check is added to the step and the step status changes to Passed If the actual result is different from the expected result, type the actual result in the Actual box and click the Fail Selected button.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Manually

Click the Keep on Top button to display the Manual Runner: Step Details dialog box

on top of all open windows


To display selected windows on top of the Manual Runner: Step Details dialog box, click the Not on Top button. Perform the remaining steps

Click the End Run button when you complete the test run

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Resuming a Manual Test Run

If a manual test run was paused during execution, you can continue the run at a later stage. To resume a manual test run: In the Execution Grid tab or Execution Flow tab, select the test one want to resume running

Choose Tests > Continue Manual Run. Alternatively, click the Run arrow and choose Continue Manual Run. The Manual Runner dialog box opens for the selected test
Continue running the test

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Running Test Automatically

To run tests automatically: Select a test set from the test sets tree or the test sets grid One can set conditions and schedule the date and time for executing tests. We can also set the order in which you want your tests to be executed You can run all the tests in a test set or select specific tests: To run a test set, in the Execution Grid tab or Execution Flow tab, click the Run Test Set button. Alternatively, choose Test Sets > Run Test Set. To run selected tests, in the Execution Grid tab or Execution Flow tab, select one or more tests and click the Run button. Alternatively, choose Tests > Run.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Viewing Test Results

Test Results can be viewed:

In the execution grid, double click a test or select a test instance properties button
In the execution grid right click on test instance and choose test instance properties

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Defect Tracking (Defect Tab)

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding Defects

When a defect is discovered in the application, a defect is submitted to the Quality center project The project stores defect information that can be viewed by the authorized users

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Reviewing New Defects

Reviewing all new defects in the projects and decide which one to fix

A defect coordinator or the Test manager Changes the status of the new defect to open and assign it to a member of the development team, Here similar defects can be linked or marked as closed or rejected

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Analyzing Defect Data

From defect reports one can view how many defects were resolved, and how many still remain open As you work, you can save settings that are helpful in the defect-tracking process Reports and graphs enable you to analyze the progress of defect repairs, and view how long defects have been residing in a project This helps in determining when the application can be released

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

The Defects Module

Track defects in Quality Center by clicking the Defects button on the sidebar

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding New Defects

In the Defects module, click the New Defect button

The New Defect dialog box opens

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Adding New Defects

Enter the Defect details. Add attachments. Eliminate duplicates. Spell check. Submit and close

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Updating Defects

In the Defects Grid, double-click the defect you want to update. Alternatively, select the defect and click the Defect Details button. The Defect Details dialog box opens.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Updating Defects

Click the Add Comment button


A new section is added to the Comments box

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Mailing Defects

In the Defects Grid, select one or more defects and click the Send by E-mail button

The Send E-mail dialog box opens

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Mailing Defects

Type a valid e-mail address, or click on to/cc button to display list of users for selection Enter proper mail subject In the items box, clear the items you do not want to include in e-mail

Add attachments/history/ additional comments


Spell check Click Send to send the mail

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Linking Defects to Tests

Display the Test plan module Select the Test with which you want to link a defect For the test select the Linked Defects tab Click the Link existing Defects arrow and choose Select In the Defects to link dialog box select the defect and click on Link button In the Defects grid for the linked defect verify the Linked Entities property in Defect details, a test would appear linked to this Defect

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Linking Defects to Tests

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Generating Reports

Available Reports

Requirements module reports


Test Plan module Reports Test Lab module Reports Defects module Reports

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirements Module Reports

Standard Requirements Tabular Requirements with coverage tests Requirements with coverage tests and steps Requirements with linked defects

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Test Plan Module Reports

Standard Test Planning

Subject Tree
Tests with Design Steps Tests with Covered Requirements Tests with Linked Defects

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Test Lab Module Reports

Current Test Set

Cross Test Set


Test Set Hierarchy with Tests Cross Test Set with Tests Current Test Set with Failed Test Runs Cross Test Set with Failed Test Runs

Execution Notification

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Defects Module Reports

Standard Defects Tabular Defects

Defects with Linked Tests and Runs


Fixed or Rejected Defects Fixed or Rejected Defects detected by Current User Opened Defects Assigned to Current User

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Generating Graphs

Quality Center Graph Types: Requirements module Graphs

Test Plan module Graphs


Test Lab module Graphs Defects module Graphs

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Requirements Module Graphs

Requirements Summary Graph

Requirements Progress Graph


Requirements Coverage Graph Requirements Trend Graph

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Creating Graphs

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Summary of activities in QC

1. 2.

Define the requirements and the child requirements in the requirements module Create the Test plan i.e. the folder structure and the tests for the project.

3.
4. 5. 6. 7. 8.

Link the tests with requirements


Create the test steps for Manual tests and script for the Automated tests In the Test Lab create the Test set and define the test run properties, test run schedule Run the tests in the test lab and add defects where ever applicable Track the defects in the defects module till closure. Analyze the Test run/Defect status on timely basis by generating various reports and graphs.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

QC Add Ins

Quality Center Add ins help to integrate Quality Center with the other tools To upload test cases from Microsoft Excel to Quality Center you must install the Excel add in from Add Ins page To integrate Quality Center with Quick Test Professional you must install the Quick Test Professional add-in and the Mercury Quality Center Connectivity add in from the Quality Center Add ins page To Integrate Quality Center with Winrunner you must install Mercury Quality Center connectivity add in from the Quality Center Add Ins page Many Add ins are available to integrate Quality Center with other tools

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

More about QC Add-ins

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Starting Project Customization

Open the Mercury Quality Center Login window Enter the User Name password and authenticate, then select the domain and project to login In Quality Center main window select Tools>Customize to open the project Customization window

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Project Customization

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Project Customization

Change User Properties - Enables you to change the user properties, you can change your e-mail address you can also change your password Customize Project Entities - Enables you to modify the behavior of Quality Center system fields or define user defined fields that are unique to your project Customize Project Lists - Enables you to add customized lists to a project

Set Up Workflow - Enables you to generate scripts to perform commonly needed customizations on the fields of the defects module dialog boxes and to control the actions users can perform.

www.qtestpro.blogspot.com

www.swaretesting.blogspot.com

Questions ??

Please send your questions or suggestions/feedback to nuve1284@gmail.com Provide your comments on below blogs www.qtestpro.blogspot.com www.swaretesting.blogspot.com www.venuela.blogspot.com

##Thank you very much## ~ VB Naik


www.qtestpro.blogspot.com www.swaretesting.blogspot.com

You might also like