qc -9.2 without exercises
TRANSCRIPT
HP Quality Center 9.2
Assurance Service Unit
Training Material
Agenda
Features of Quality Center and Testing ProcessFeatures of Quality Center and Testing Process
Introduction to Quality CenterIntroduction to Quality Center
Course ObjectivesCourse Objectives
Specify RequirementsSpecify Requirements
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Specify Releases & CyclesSpecify Releases & Cycles
Course Objectives
Create Release and Cycles.
Create and Manage Test Requirements.
Design and Build Test Case, Test Script and Test Plan.
Test Execution using Quality Center
Schedule and Manage Test Execution Flows
Log and Manage Defects
Generate Test Results – Reports and Graphs
To enable you in using HP Quality Center to:
Agenda
Test Process in Quality CenterTest Process in Quality Center
Course ObjectivesCourse Objectives
Introduction to Quality CenterIntroduction to Quality Center
Specify RequirementsSpecify Requirements
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Specify Releases and CyclesSpecify Releases and Cycles
Introduction to HP Quality Center Quality Center is a web-based centarlized repository for end to end management of the entire TDLC. The activities include:
Release and Cycle management Requirement ManagementTest Case repository creation and managementCentralized Test ExecutionDefect management; Project status analysis to track the progress and update.
Intended Users :
Business analysts define application requirements and testing objectives.Test analysts design test plans and develop test cases .Testers run manual and automated tests, report execution results, and enter defects.Developers review and fix defects logged into the database.Test automation engineers create automated scripts and store them in the repository.Test managers create test progress status reports and manage resource allocation.Project managers decide whether an application is ready to be released.Program Owners – To review the over all project status and development
Advantages of Quality Center• HP Quality Center is a web-based test management tool that provides the methodology, structure, organization, and documentation for all phases of the application testing process.
• Serves as a central repository for all your testing assets and provides a clear foundation for the entire testing process.
• Establishes seamless integration and smooth information flow from one stage of the testing process to the next.
• Supports the analysis of test data and coverage statistics, to provide a clear picture of an application’s accuracy and quality at each point in its lifecycle.
• Since it is completely web-enabled, it supports communication and collaboration among distributed testing teams.
Launching QCTo Start QC…. • Open your Web browser and type your Quality Center URL
1. Click the Quality Center link. Note: The first time you run Quality Center, files are downloaded to your machine. Subsequently, Quality Center carries out a version check. If there is a newer version on the server, updated files are downloaded to your machine.
Launching QC (Cont…)
1. Login by using your username and password2. Select the Automatically log in to my last domain and project on this machine check box if
you want Quality Center to automatically log in to the last project in which you were working.
Launching QC (Cont…)
1. Click Authenticate. Quality Center verifies your user name and password and determines which domains and projects you can access.
2. In the Domain list, select a domain. By default, the last domain in which you were working is displayed.
3. In the Project list, select a project. By default, the last project in which you were working is displayed.
4. If the demonstration project was installed on the Quality Center server, you can select the QualityCenter_Demo project (make sure that you select DEFAULT in the Domain list). The project helps introduce you to Quality Center and includes sample requirements, tests, test sets, test runs, and defects.
5. Click Login, Quality Center opens and displays the module (Releases, Requirements, Test Plan, Test Lab, Defects) in which you last worked during your previous session.
6. To exit and return to the HP Quality Center Login window, click the Logout button located on the upper-right side of the window.
Overview of QC GUICommon Tool Bar
Module Tool Bar
QC Modules
Shortcut Menus
Introduction to Quality CenterIntroduction to Quality Center
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Test Process in Quality CenterTest Process in Quality Center
Course ObjectivesCourse Objectives
Specify RequirementsSpecify Requirements
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Testing Process in QC
Reports and Graphs
Test Management
Test management in Quality Center involves five phases:
Specify ReleasesHelps in aligning the business priorities and quality expectations of a
business unit with the project requirements test and defects.Specify requirements
Identify and validate the functional and performance requirements that need to be tested.
Test Execution
Manage Defects
Specify Requirements
Prepare Test Plan
Prepare Test Cases/Scripts
Prepare Test Data
Specify Releases
Testing Process(Cont…)
Develop test plan Plan and confirm which tests need to be performed and how these tests must
be executed.Execute tests
Organize test sets, schedule their executions, perform test runs, and analyze the results of these runs.
Track defectsReport defects that were detected in the application testing and track how
repairs are progressing.
Test Process in Quality CenterTest Process in Quality Center
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Specify RequirementsSpecify Requirements
Course ObjectivesCourse Objectives
Introduction to QualityIntroduction to Quality
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Release and Cycles Overview• In Quality Center the testing process begins by defining releases in the release module.• The Release Module is used to align the business priorities and quality expectations with
a project requirement, test and defects.• The Release module helps to manage application releases and cycles more efficiently.• The Release Module helps in tracking the progress of an application release to determine
whether the release is on track which allows to make informed budgetary and release decisions.
• Release in Quality Center?In QC a version of application is referred as release, which represents a group of changes in the application which are available for distribution to the customers.
• Cycle in Quality Center? A release is developed in a specific time. During this period a release undergoes a series of testing phases and in Quality Center a testing phase is referred as Cycle.
Sample Release Tree
Review Questions• What is release?
• What are the components of release tree?
• What are the type of attachments you can attach to a cycle?
• What is the difference between tying a requirement to a release and in tying a requirement to a cycle?
Introduction to Quality CenterIntroduction to Quality Center
Test Process in Quality CenterTest Process in Quality Center
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Specify RequirementsSpecify Requirements
Course ObjectivesCourse Objectives
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Requirements OverviewWhat is a Requirement ?
Requirements describe in detail what need to be tested in in an application. These are considered as the yardstick for measuring the progress of the project.
Defining requirements clearly and correctly at the beginning has the following advantages:
Aids development and testing.Helps prevent scope creep.Sets clear expectations between groups.Saves time and money.
Create RequirementsTo create a new requirement in the requirement tree….
• Click the New Requirement button. Alternatively, choose Requirements > New Requirement. The New Requirement dialog box opens
1. Add details for the requirement.You can add an attachment to your requirement through the attach buttons
1. Click Submit to add the new requirement to the tree.
Create Requirements (Cont…) To create a child requirement in the requirement tree….
• Select the <Parent> requirement and click the NEW CHILD REQUIREMENT button from the toolbar to open the NEW CHILD REQUIREMENT dialog box
• Add details for the child requirement• Click OK to add the child requirement to the tree
Review Questions• What are the characteristics of a test requirement?
• To create a child requirement of type Folder, what must be the type of parent requirement?
• To modify the details of requirement using a specific font and format, which view of the requirement module must use?
• Which view of the requirement module enables you to edit multiple requirements?
• Why do you assign a requirement to a release?
• When you assign a requirement to a cycle is it tested in all cycles with in the release?
Introduction to Quality CenterIntroduction to Quality Center
Test Process in Quality CenterTest Process in Quality Center
Specify RequirementsSpecify Requirements
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Course ObjectivesCourse Objectives
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Test Plan Overview
Test planning involves the following tasks:1. Develop the test plan tree.
a) Create subject folders in the test plan tree.b) Define the specific tests within each subject folder.
2. Add manual steps for each test.3. Build test scripts, as appropriate.4. Link tests to requirements.
DETAILS tab: To enter descriptions for the subject folders and tests.DESIGN STEPS tab: To specify the steps for each test.TEST SCRIPT tab: To design scripts for automated tests.ATTACHMENTS tab: To add attachments to subject folders or specific tests.REQ COVERAGE tab: To link tests to requirements.LINKED DEFECTS tab: To link tests to defects.
Test Plan (Creating Test Cases) To define a test step:1. Open the TEST PLAN module.2. Select a test and click its DESIGN STEPS tab.3. Click NEW STEP. The DESIGN STEP EDITOR dialog box appears.4. Type a name for the step in the STEP NAME field.5. In the DESCRIPTION field, type the instructions that need to be carried out in this step.
completed.7. Click OK when done. The test steps appear in the DESIGN STEPS tab.
6. In the EXPECTED RESULT field, type a description of what should be expected after this step is
Test Plan (Test Requirement Relationship) To link test to a requirement:• From the REQUIREMENTS module, click VIEW from the menu bar and select
REQUIREMENTS COVERAGE from the menu.• From the REQUIREMENTS tree, select a requirement.• From the TEST COVERAGE tab, click SELECT. The TEST PLAN TREE tab appears on
the right side of the screen.• Select a test from the TEST PLAN TREE tab and click the ADD TO COVERAGE button
to add the test to the TEST COVERAGE grid.
Knowledge Check• What are the different ways of creating test plan tree?• What are the various types of tests can be created?• What is a template test and what all can defined as template tests?
Test Plan (Test Requirement Relationship) To link requirement to a test:• From the TEST PLAN tree, select a test.• Click the REQ COVERAGE tab.• Click the SELECT REQ button. REQUIREMENTS tree appears on the right side of the screen.• Select a requirement from the REQUIREMENTS tree.• Click the down arrow of the ADD TO COVERAGE button to open a list containing two options for
linking requirements.• To link the requirement and all of its child requirements, select ADD TO COVERAGE (INCLUDE
CHILDREN). To link only the selected requirement, select ADD TO COVERAGE (WITHOUT CHILDREN). The selected requirement appears in the REQ COVERAGE grid.
Test Plan (Test Defect Relationship)
To link a defect to a test:• From the TEST PLAN tree, select a test.• Click the LINKED DEFECTS tab.• Click the LINK EXISTING DEFECT button. Defects to link dialog box appears.• Select a defect from the dialog box.• Click on the link button.
Review Questions• What is the importance of Test Plan module in the testing process?
• What are the entities can be linked to a test case?
Introduction to Quality CenterIntroduction to Quality Center
Specify RequirementsSpecify Requirements
Test Process in Quality CenterTest Process in Quality Center
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Course ObjectivesCourse Objectives
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Test Execution
To execute a test:1. Develop the test sets tree.
a) Create folders in the test sets tree.
b) Create test sets.c) Add tests to test sets.
2. Organize test runs.a) Define test run sequence and
conditions.b) Schedule execution date and
time.
3. Set additional test set properties.
4. Run the tests.
EXECUTION GRID tab: To declare the tests that make up each test set, run tests, and review the results of these executions. Displays test data in a grid.
EXECUTION FLOW tab: Displays the test data in a diagram and provides drag-and drop functionality for adding, sequencing, and scheduling tests.
TEST SET PROPERTIES tab: To define additional test execution parameters and requirements.
LINKED DEFECTS tab: To view the defects that are associated with a test.
LIVE ANALYSIS tab: To generate a graphical representation of the different fields associated with a test.
Test Execution - Creating Test Set
To create a test set:
To Create a New Folder
Adding Test Set
• From the TEST SETS tree, select the folder to where you want to add the new test set.
• Click NEW TEST SET. The NEW TEST SET dialog box appears.
• Type a name for the test set in the TEST SET NAME field and its description in the DESCRIPTION field.
• Click OK to add the new test set to the TEST SETS tree.
1. From the TEST SETS tree, select the ROOT folder to create a main folder or select an existing folder to create a sub folder
2. On the toolbar, click NEW FOLDER. The NEW FOLDER dialog box appears.
3. In the FOLDER NAME field, type a name for the new folder.
4. Click OK to add the folder to the TEST SETS tree.
To add a folder:
Test Execution - Creating Test Set (Cont…) To add test cases:• From the TEST SETS tree, select a test set.• Click the EXECUTION GRID tab and click SELECT TESTS. The TEST PLAN TREE tab appears
on the right side of the screen.• Under the TEST PLAN TREE tab, click a test folder to add an entire group of tests or click a test
name to add a specific test.• Click ADD TESTS TO TEST SET. This adds the test to the test set and prefixes a number to its
name. This number indicates the sequence when an instance of this step is added to the same test set.
Test Execution – Scheduling Test Run
Select FINISHED to set a rule that the dependent test is executed only after the controlling test finishes its execution.
Select PASSED to set a rule that the dependent test is executed only after the controlling test finishes and passes its execution.
1. From the TEST SETS tree, select a test set and click the EXECUTION FLOW tab
2. Double-click a test. The RUN SCHEDULE dialog box appears and the EXECUTION CONDITIONS tab is displayed
3. To add a condition, click NEW. The NEW EXECUTION CONDITION dialog box appears.
4. In the TEST field, select the test that specified when the current test is executed. In the next field, select the completion status of the controlling test that triggers this execution.
Knowledge Check• If you know the test in the test plan might fail, but you want to make sure that the following
test still execute, you should:– Disconnect the test from flow– Ensure that the execution condition for the arrow running into the test is set to
Finished.– Ensure that the execution condition for the arrow running out from the test is set to
Finished.
Test Execution – Running Test Manually• From the TEST SETS tree, select a test set • Double-click a test. Click the EXECUTION GRID or EXECUTION FLOW tab and select multiple
manual tests. • On the Quality Center toolbar, click the RUN arrow and select RUN MANUALLY. The MANUAL
TEST RUN dialog box appears.• Select MANUAL RUNNER and click OK. The MANUAL RUNNER dialog box appears.• To start the test run, click BEGIN RUN. The MANUAL RUNNER dialog box appears.• Perform the test step as outlined in the DESCRIPTION field of MANUAL RUNNER dialog box.• Record the status and actual result of each step using the provided fields.• To end the test run, click END RUN.
Test Execution – Analyzing Result• From the TEST SETS tree, select a test set folder• Click the LIVE ANALYSIS tab. • On the Click the ADD GRAPH link in the pane in which you want the graph to be displayed. The
GRAPH WIZARD: TEST LAB MODULE dialog box appears.• Select Under GRAPH TYPE, select the type of graph you want to display. You can generate
SUMMARY and PROGRESS graphs.• Click NEXT, In the GROUP BY drop-down menu, select the field by which you want the test to
be grouped in the graph and click NEXT.• In the X-AXIS drop-down menu, select the field that you want to use for the X-axis• Click FINISH. The graph appears in the panel that you selected
Review Questions1. What is a test set tree?
2. What are the rules that you can use to define dependency between test executions?
3. When you run a test on a remote host group, is the test executed on all the hosts available in the group?
Introduction to Quality CenterIntroduction to Quality Center
Specify RequirementsSpecify Requirements
Test Process in Quality CenterTest Process in Quality Center
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Course ObjectivesCourse Objectives
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Defect ManagementAccess defects in Quality Center by clicking the Defects button on the sidebar
Logging Defect• Click NEW DEFECT, the NEW
DEFECT dialog box appears• Type the appropriate information
to describe the defect. Also add attachments to a defect to provide further information about the defect
• Click SUBMIT to save the defect to the DEFECTS module
Defect Status (Default) -• NEW: Is the default status when a defect is reported • OPEN: Defect is assigned to the development team for review• REOPEN: Defect closed by the development team has been reopened by the testing team• FIXED: Testing team has verified the application and the defect has been fixed.• CLOSED: Defect has been closed by the development team, but is pending for approval by
the testing team• REJECTED: Development team rejected the defect. The development team provides a
rationale for rejecting a defect
Updating & Filtering Defects
• In the Defects Grid, double-click the defect you want to update. Alternatively, select the defect and click the Defect Details
• Update the required data fields • Click OK to save the changes
Updating Defect:
Filtering Defect:• In the DEFTECTS GRID under the
STATUS column, click the browse button, The SELECT FILTER CONDITION dialog box appears.
• In the SELECT FILTER CONDITION dialog box, select the filter condition (Open/New/Reopen..)
• Click OK to close the SELECT FILTER CONDITION dialog box
Linking Defects To Requirement/Test Plan/Test Case
• Open the REQUIREMENTS module, Select VIEW → REQUIREMENTS COVERAGE• Click the requirement to which you want to add a defect • Click the LINKED DEFECTS tab. Click ADD AND LINK DEFECT. The NEW DEFECT dialog
box appears• Type the appropriate information in the required fields. Click SUBMIT to add the defect
• (Note 1: To add an existing defect to a requirement, click LINK EXISTING DEFECT arrow and click SELECT. Type the defect ID in the DEFECT ID field to link an existing defect to the requirement)
• (Note 2: Similarly defects can be linked to Test Plan, Test Case or Test Run by selecting the appropriate module in step 1 above )
Review Questions1. What are the different entities with which defects can be directly associated?
2. Consider a test and its instance. A defect is associated with the test instance. During the testing process, the association between the test instance and the defect is removed. Does any association still exist between the test and defect?
3. If you log a defect for a child requirement, is the defect associated to the parent requirement?
Introduction to Quality CenterIntroduction to Quality Center
Specify RequirementsSpecify Requirements
Test Process in Quality CenterTest Process in Quality Center
Specify Releases and CyclesSpecify Releases and Cycles
Agenda
Course ObjectivesCourse Objectives
Test PlanningTest Planning
Test ExecutionTest Execution
Defect ManagementDefect Management
Reports and GraphsReports and Graphs
Reports and Graphs
Report Options:• ANALYSIS menu: To collate data specific to a module and create reports and graphs
using this data• DOCUMENT GENERATOR (from the TOOLS menu): To export data from QC to
Microsoft Word. The DOCUMENT GENERATOR tool enables you to catalog your testing data into a formatted Word document window.
Reports and Graphs
Generating Report/Graph:
• From the menu bar, select ANALYSIS → REPORTS/GRAPHS. A new menu appears that lists the types of reports/graphs available in the current module
• Click the report/graph type you want to run. After the report/graph generation task is complete, the report/graph output is displayed in the current window.
Reports and GraphsReport Configuration:• From the report window, click the CONFIGURE REPORT AND SUB-REPORTS button. • In the new pane, in PAGE section, set the number of records that you want to display on each
report page• In the FILTER section, click the SET FILTER/SORT button. The FILTER dialog box appears.
You can define your filter and sort settings in the FILTER dialog box• Click OK to close the FILTER dialog box• In the FIELDS section, select the data field that you want listed in the report• Check the appropriate check boxes for the additional settings you need• Click APPLY to regenerate the report with the new settings
Reports and GraphsQC Graphs:1. SUMMARY graphs: This graph type shows the total count of requirements, tests, tests
in TEST SETS, or defects that were defined throughout the testing process2. PROGRESS graphs: This graph type shows the accumulation of requirements, tests,
tests in TEST SETS, or defects over a specific period3. TREND graphs: This graph type shows the history of changes to specific fields over a
specific period4. REQUIREMENTS COVERAGE graphs: It shows the total count of requirements,
grouped by test coverage status.5. DEFECTS AGE graphs: It summarizes the lifetime of all reported defects. The lifetime of
a defect begins when it is reported, and ends when it is closed
Reports and GraphsCustomizing Graph:• Use the SET GRAPH APPEARANCE button to modify a graph layout• Use the EDIT CATEGORIES button to select which data to plot and how to organize the
data in a graph. Alternatively, you can use the options on the right side of the window to change the x-axis, y-axis, and data group settings of the graph
• Use the COPY GRAPH TO CLIPBOARD and PRINT GRAPH buttons to reuse a graph• Use the REFRESH button to adjust a graph to display the latest data and settings• Use the DESCRIPTION tab to enter annotations about a graph. Note that this tab is only
editable for graphs that are saved as favorite views• Navigate to the PIE CHART tab to see how data from a BAR CHART is translated to a
PIE CHART. Note that this tab is only available for SUMMARY and REQUIREMENTS COVERAGE graph types
Thank You