QUALITY CENTER

BASIC FEATURES

QUALITY CENTER

Welcome
Objective: To demonstrate features of Quality Center and to understand how to use it to manage application testing process. Duration: 1 hour approx. Presented by: Ankur Gupta

QUALITY CENTER

Contents 
  

What is Quality Center (QC)? QC ² User Interface QC ² Testing Process QC ² Specifying Requirements Defining Requirements Viewing Requirements Modifying Requirements Converting Requirements QC ² Planning Tests Developing Test Plan Tree Designing Test Steps Calling Tests with Parameters Creating & Viewing Requirement Coverage Generating Automation Script 

QUALITY CENTER Contents  QC ² Running Tests Defining Test Sets Scheduling Test Runs Running Tests Manually QC ² Defects Adding New Defect Matching Defects Updating Defects Mailing Defects Linking Defects to Tests Favorite View Q&A   .

   MQC 1 . Helps in organizing and managing all phases of application testing process. including specifying testing requirements. Helps in customizing the project as per requirements. executing tests and tracking defects.QUALITY CENTER What is Quality Center (QC)?  Test Management Tool. planning tests. Offers an organized framework for testing applications before they are deployed.

QUALITY CENTER QC ± User Interface .

schedule their execution. Tracking Defects: Add defects that were detected in the application and track how repairs are progressing Running Tests Tracking Defects . Planning Tests Running Tests: Organize test sets. and analyze the results of these runs.QUALITY CENTER QC ± Testing Process QC testing process includes four phases: Specifying Requirements: Identify and validate the functional and performance requirements that need to be tested. perform test runs. Specifying Requirements Planning Tests: Plan and confirm which tests need to be performed and how these tests must be run.

QUALITY CENTER QC ± Testing Process QC also includes one of the following phases depending on the license: Business Components: The Business Process Testing module enables subject matter experts to drive the quality optimization process. . Dashboard: This enables IT teams to track application readiness in real-time and manage project risk.

Requirement Specification Module helps in grouping and sorting requirements in tree monitoring task allocation monitoring progress in meeting requirements generating detailed reports and graphs   Major tasks under Requirement Specification Module are Defining Requirements Viewing Requirements Modifying Requirements Converting Requirements REQ 1 .QUALITY CENTER QC ± Specifying Requirements   Requirements describe what needs to be tested in an application. Requirements are defined in QC by creating requirements tree (graphical representation of requirements specification).

REQ 2 REQ 3 .QUALITY CENTER QC ± Specifying Requirements  Defining Requirements Login to QC -> Requirements -> View -> Requirements Tree > New Requirement Child requirement can also be added for a particular requirement. Unique Requirement ID (ReqID) is generated every time a requirement is added.

Choose View -> Requirements Grid. Numeration is not related to ReqID assigned to each requirement.QUALITY CENTER QC ± Specifying Requirements  Viewing Requirements Login to QC -> Requirements -> View -> Requirements Tree Choose View -> Numeration. to display requirements in non-hierarchical view. . to assign hierarchical numbers to each requirement. Use Set Filter/Sort button to filter the requirements grid.

Rename. Move and Delete operations can be done on existing/added requirements .QUALITY CENTER QC ± Specifying Requirements  Modifying Requirements Login to QC -> Requirements -> View -> Requirements Tree Copy.

REQ 9 Use test plan tree to view tests. REQ 8 3 Steps dialog box opens up and go through 3 steps to convert requirements into tests. then choose Requirements > Convert to Tests -> Convert Selected Requirement. REQ 10 .QUALITY CENTER QC ± Specifying Requirements  Converting Requirements Login to QC -> Requirements -> View -> Requirements Tree. REQ 7 Select any existing requirement.

QUALITY CENTER QC ± Planning Tests  Developing Test Plan Tree: After defining requirements. Designing Test Steps: For each subject in the test plan tree. Generating automated test script with help of QTP and Winrunner.     . Calling Tests with Parameters: Increasing flexibility of test step by adding parameters. one needs to determine testing goals which done by building test plan tree and adding subjects. Creating and Viewing Requirements Coverage: Linking tests with requirements to ensure compliance throughout testing process. For each test step. define tests that contain steps. specify actions to be performed and expected result.

Add Test Description in the Description box under Details tab. Select Test Type as MANUAL. Add Test Name and click OK. Login to QC -> Test Plan -> Add subject folder to test plan tree. Reviewed and Priority. Add test to subject folder. Select values for Level. displaying tests according to hierarchical relationship of their functionality. Click OK.QUALITY CENTER QC ± Planning Tests  Developing Test Plan Tree Test Plan Tree enables tester to divide application into units or subjects according to functionality. Required Fields dialog box opens. Create New Test dialog box opens. Plan 1 Plan 2 Plan 3 . (Select QUICKTEST_TEST to create QTP test or WR-AUTOMATED to create WinRunner Test). Test Plan Tree is graphical representation of test plan.

Description and Expected Result. Design Steps tab displays all design steps added for selected subject. Plan 4 Plan 5 Plan 6 .QUALITY CENTER QC ± Planning Tests  Designing Test Steps Test Steps are detailed. (Add as many test steps as required for that subject). Design Step Editor box opens. Login to QC -> Test Plan -> Subject -> Test Add test step by clicking on Design Steps tab. step-by-step instructions that specify how to execute a test. Click New Step. Define test step in Design Step Editor. Click OK. add Step Name. Test Step includes actions to be performed and expected results.

. Example. Click on Call to Test button.QUALITY CENTER QC ± Planning Tests  Calling Tests with Parameters Template Test: Reusable test that can be called by other tests. Template test can include parameters Parameter is a variable that replaces a fixed value. login test during start of an application. Click OK. Select test that you want to call. Parameters of Test dialog box opens and displays the parameters contained in called test. Login to QC -> Test Plan -> Subject -> Test -> Design Steps.

. After creating test coverage. Login to QC -> Requirements. Select Test Coverage tab on right pane. Login to QC -> Test Plan -> Subject -> Test -> Req Coverage In Requirements Module. In Test Plan module. Login to QC -> Requirements. Click on View -> Coverage Analysis. one can use Coverage Analysis view in Requirements module for analysis.QUALITY CENTER QC ± Planning Tests  Creating and Viewing Requirements Coverage Linking between tests and requirements is essential to ensure compliance throughout testing process. Click on View -> Requirements Coverage. one can create tests coverage by selecting tests to link to a requirement. one can create requirements coverage by selecting requirements to link to a test.

QUALITY CENTER QC ± Planning Tests  Generating Automated Test Scripts Automation scripts can be generated with the help of QTP or Winrunner. Choose WR-AUTOMATED to generate Winrunner test. . Choose QUICKTEST_TEST to generate QTP test. You must have Winrunner add-in installed from Add-Ins page in order to have WR-AUTOMATED option. Login to QC -> Test Plan -> Subject -> Test -> Design Steps. You must have QTP add-in installed from Add-Ins page in order to have QUICKTEST_TEST option. Click on Generate Script button.

QUALITY CENTER QC ± Running Tests  Test Lab module helps in creating test sets and choosing which tests to include in each set.    . Test can be run Manually as well as Automatically. Test set is a group of tests designed to achieve specific goals. Control execution of tests in test set by setting conditions and scheduling date & time for executing tests.

Login to QC -> Test Lab. Test Set Tree enables to organize testing process by grouping Test Sets in folders and organizing them in different hierarchical levels. Click Execution Grid tab on right. Click Select Tests. Choose View -> Test Set Tree. Select tests to add to Test Set.QUALITY CENTER QC ± Running Tests  Defining Test Sets After designing test steps in Test Plan module. Lab 1 Lab 2 . Test plan tree is displayed. Add New Folder and then add new test set. Create Test Set Tree under Test Lab.

Execution flow helps to specify date and time to execute a test and set conditions for it. Blue Solid Line indicates condition set as ¶Finished·. Dashed Line arrow indicates test with no conditions. Solid Line arrow indicates test with condition.QUALITY CENTER QC ± Running Tests  Scheduling Test Runs Login to QC -> Test Lab ->Test Set. Time Dependency icon indicates time dependent tests. Click Execution Flow tab on right pane. Lab 3 . Green Solid Line indicates condition set as ¶Passed·.

QUALITY CENTER QC ± Running Tests  Scheduling Test Runs Adding Execution Conditions. Lab 8 . Lab 7 Execution Flow. Lab 4 Lab 5 Lab 6 Adding Time Dependency.

Display Manual Runner in Compact form and perform each step. follow test steps and perform operation on application.QUALITY CENTER QC ± Running Tests  Running Tests Manually When running tests manually. Give values to parameters and click OK. Login to QC -> Test Lab ->Test Set -> Execution Grid. Then compare expected result with actual outcome and record the results. Parameter Values dialog box opens if your step require parameters for execution. Click Run button. Lab 13 . Manual Runner Step Details dialog box opens. Manual Runner dialog box opens. Lab 11 Lab 9 Lab 10 Lab 12 Record actual outcome and then Pass or Fail the test. Click on Begin Run. Defect can also be logged at the time of test run.

QUALITY CENTER QC ± Defects  Defect is deviation from requirements. QC helps in tracking defects through following stages New -> When defect is detected Rejected -> When defect is not considered for repair Open -> When defect is considered for repair Fixed -> When defect is repaired Reopened -> When retest of defect fails Closed -> When retest of defect pass New Reject  Open Reopen Fixed  More stages can also be added using customization. . Closed  Defects can also be linked to Tests.

New Defect dialog box opens. Defect 1 . Unique Defect ID will be generated and defect will be added to Defect Grid. Click New Defect. Give details for Defect. Click Submit.QUALITY CENTER QC ± Defects  Adding New Defect Login to QC -> Defects.

Similar Defects dialog box opens. Defect 2 . Keywords in fields Summary and Description are matched. Login to QC -> Defects -> Defect Grid.QUALITY CENTER QC ± Defects  Matching Defects Enables to eliminate duplicate or similar defects. Select any Defect and click on Find Similar Defects button. Similar Defects are sorted by the percentage of detected similarity.

 Mailing Defects Defects can be mailed to another user. Click on any Defect.   . Defect Details dialog box opens. Defect 3 Login to QC -> Defects -> Defect Grid. Send E-mail dialog box opens. Defect Login to QC -> Defects -> Defect Grid.QUALITY CENTER QC ± Defects  Updating Defects Defects should be updated as and when action is done on that defect. Click on Send by E-mail button. This helps in updating others with defect repair activity.

Choose Linked Defects tab. Defect 6 . User might be interested to see defects raised by him/her and have status as ¶Open· and ¶Fixed·. Then user can set Filter for this and can add it to favorites. Defect 5 Login to QC -> Test Plan -> Subject -> Test. Defects can also be linked to requirements. Defect to Link dialog box opens.  Favorite Views Favorite view is view of QC window with settings user applied.QUALITY CENTER QC ± Defects  Linking Defect to Tests Defect can be linked to a test in Test Plan. Click on Link Existing Defect.

QUALITY CENTER Q&A Mail me at ankur.com  .gupta@niit-tech.

Thank You!! .