Professional Documents
Culture Documents
Student Guide
Table of Content
TABLE OF CONTENT
COURSE OVERVIEW
COURSE OBJECTIVES
CLASS INTRODUCTION
COURSE OUTLINE
INTRODUCTION TO QUALITY CENTER
LESSON OBJECTIVES
QUALITY CENTER OVERVIEW
THE TEST MANAGEMENT PROCESS
LOGGING ON TO QUALITY CENTER
QUALITY CENTER MODULES
THE QUALITY CENTER TOOLBARS
SHORTCUTS MENU
TOOLS AND HELP
SUMMARY
REVIEW QUESTIONS
LAB EXERCISE
WORKING WITH REQUIREMENTS
LESSON OBJECTIVE
TEST MANAGEMENT PROCESS
REQUIREMENT TYPES
REQUIREMENTS TREE
BUILDING A REQUIREMENTS TREE
CREATING A REQUIREMENT
PMT INTEGRATION
REQUIREMENTS FIELDS
VIEWING MULTIPLE REQUIREMENTS
EDITING MULTIPLE REQUIREMENTS
SUMMARY
REVIEW QUESTIONS
LAB EXERCISE
TEST PLANNING
LESSON OBJECTIVE
TEST MANAGEMENT PROCESS
TEST PLANNING OVERVIEW
THE TEST PLAN TREE OVERVIEW
CREATING A SUBJECT FOLDER
KEY POINTERS FOR DEFINING TESTS
ADDING A TEST
POPULATING THE DETAILS TAB
TEST CASE FIELDS
Course Overview
Course Objectives
This hands-on course provides the tools you need to implement and utilize Quality
Center 11. Students will learn how to manage quality information throughout the
development cycle, from constructing and importing the requirements through
designing and executing tests.
Class Introduction
Please let us know:
1.
2.
3.
4.
Your name
Your role
Application or project you are working on
Your personal objective for this class
Course Outline
09:00 a.m.
09:15 a.m.
10:30 a.m.
10:45 a.m.
12:00 p.m.
12:45 p.m.
02:00 p.m.
02:15 p.m.
03:30 p.m.
03:45 p.m.
09:15
10:30
10:45
12:00
12:45
02:00
02:15
03:30
03:45
05:00
a.m.
a.m.
a.m.
p.m.
p.m.
p.m.
p.m.
p.m.
p.m.
p.m.
Introduction
Unit 1
Break
Unit 2
Lunch
Unit 3
Break
Unit 4
Break
Unit 5
Log into Quality Center rand become familiar with its modules, toolbars, and
menus.
Provides a web-based repository for all 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 the test data and coverage statistics, to provide a
clear picture of the accuracy and quality of an application at each point of
lifecycle.
Shortcuts Menu
The Quality Center interface provides context-specific menus that appear when you
right-click certain interface elements. These menus are useful shortcuts to
commands that are specific to the interface elements that are selected.
Summary
In this lesson, you have learned to:
Log into Quality Center rand become familiar with its modules, toolbars, and
menus.
Review Questions
Please answer these review questions:
1. What are the modules in Quality Center
2. Where is the common toolbar located, and what functions does it support
Lab Exercise
Installing Quality Center
1. Navigate to the Quality Center start page by accessing the following URL
from Internet Explorer
http://quality.eng.vmware.com/qcbin/
2. Click on the Application Lifecycle Management link. Each time Quality Center
is run, it checks the version. If it detects a newer version, it downloads the
necessary files to your machine. Since this is the first time you are running
Quality Center on this machine, it loads the client to the local machine.
Note: In Windows Vista and 7, if you do not have administrator privileges
onyour machine, and a Security Warning displays, click Dont Install. Youwill
be redirected to the Install screen.
If file downloads are prohibited by your browser, you can install thesefiles by
using the HP ALM Client MSI Generator Add-in on the MoreHP Application
Lifecycle Management Add-ins page. For moreinformation on add-ins, refer to
the HP Application LifecycleManagement Installation Guide.
3. Type your Active Directory user name and password and click on the
Authenticate button.
4. Select Domain TRAINING and project vSphereTraining.
5. Click on the Login button
Requirement Types
The path to quality software begins with excellent requirements. Slighting the
processes of requirements development and management is a common cause of
software project frustration and failure.
As a rule, the requirements are coming to VMware QE from the PMT system. Custom
requirement types were created for consistency between two systems.
Icon
Requirement Type
Folder
Description
A folder that organizes the requirements
Release
Feature
Sub-Feature
Test Design
Specification
Requirements Tree
Quality Center requirements are organized in a tree structure:
Note:Normally there would be only one requirement of a type Folder created under
the Requirement folder. The folder name is zDeleted Requirements. This folder is
used similarly to a recycle bin in Windows operating system to prevent permanent
deletion of the entities.
Creating a Requirement
You can follow the outlined process in order to create a new requirement:
1. From the requirement tree, select the target parent requirement and click on
the New Requirement button. The Create New Requirement dialog box
appears.
2. In the Create New Requirement dialog box, from the Requirement Type list,
select the type of requirement you want to create.
3. In the Requirement Name field, type an appropriate name for the new
requirement and click OK. The New Requirement dialog box appears.
PMT Integration
The following diagram demonstrates the synchronization process between PMT and
Quality Center Requirements module:
To request synchronization between the PMT and Quality Center project, you need
to submit a request through Bugzilla.
Requirements Fields
You can view the Requirements details information either by activating the
Requirements Details option from the View menu and selecting the requirement, or
by double-clicking on the requirement.
The table below lists all the fields that you can use to describe each requirement. If
your project needs to capture additional data, Quality Center administrator can
configure custom-defined fields and selection lists.
Field
Name
Requirement Type
Usage
Assigns a short description of the requirement.
QE Owner
DEV Owner
Modified
Priority
PMT ID
Product
Reviewed
You can choose which columns to display on the Requirements Grid by clicking on
the Select Column button.
Summary
In this lesson, you learned to:
Review Questions
1. What types of the Quality Center requirements have your learned?
2. How do you request synchronization process between the PMT and Quality
Center project?
4. Which view enables you to edit multiple requirements at the same time?
Lab Exercise
Part 1: Altering the Requirements View
1. Log into Quality Center using your user name and password. Select
TRAINING domain and vSphere_Training project.
2. On the Quality Center sidebar, select the Requirements module.
3. From the menu, select ViewRequirements Tree to switch to tree view.
4. To change the columns displayed in tree view:
a. On the toolbar, click the Select Columns
Columns dialog box appears.
b. Clear entries under Visible Columns by clicking on the button with the
double left-pointing arrows. Only required fields remain.
c. Under Available Columns, double-click on the following column names
in this order to make them visible: Req ID, PMT ID, Requirement Type,
QE Owner, Reviewed, Creation Date, Modified
d. If columns are not in the order defined above, use the up and down
arrows above Visible Columns to reorder them.
e. Click OK, The new column order is displayed.
Type
VM Feature
VM SubFeature
VM TDS
VM TDS
Name
Storage Platform
APD Survivability
Enablement
Mount VmfsVolume
Unmount Vmfs Volume
Description
Storage Platform
APD Survivability Enablement
Mount VmfsVolume
Unmount Vmfs Volume
Test Planning
Lesson Objective
After completing this lesson, you will be able to:
Provides a clear picture of the testing building blocks and assists in the
development of actual tests.
When planning your test plan tree, consider the hierarchical relationships of the
functions in your application. Divide these functions into subjects and build a test
plan tree that represents the function of your application.
The test plan tree must be built according to the following structure:
Economical: A test must include only the necessary steps and fields that are
needed for its purpose.
Appropriate: A test must be appropriate for its testers and its environment.
To define a test:
1. Add a test to the test plan tree.
2. Specify the details of the test.
Adding a Test
To add a test to the test plan tree, you need to define basic information about the
test, such as its name and type.
To add a test:
1. From the test plan tree, select the subject folder in which you want to add the
new test.
2. On the Quality Center toolbar, click New Test. The Create New Test dialog
box appears.
3. From the QC Internal list, select a type for the test.
4. In the Test Name field, type a name for the test.
5. Enter all required information.
6. Click OK to add the test to the test plan tree.
Note: You can provide additional information about a test by adding attachments in
its Attachments tab. This tab provides the same functionality as the Attachments
tab in the Requirements module.
Field
Type
List Values
Comments
Represents Product of the test
case - e.g., ESX
Represents Functional and/or
Testing Area
1.Product
Text
N/A
2.Func Area
Text
N/A
3.Component
Text
N/A
Text
N/A
Automation
Level
List
Semi-Automated
Manual
Automated
Comments
Text
N/A
Configs HW
Text
N/A
Configs Other
Text
N/A
Configs SW
Text
N/A
Text
Date
N/A
N/A
Text
N/A
List
Fully
Automatable?
List
Y
N
Keyword
Text
N/A
Legacy Test
Case ID
Text
N/A
Objective
Text
N/A
Partner Facing?
List
Y
N
PMT #:
Text
N/A
Pre-Condition
QC Internal
Text
Text
Status
List
N/A
N/A
Review
Retired
Repair
Execution Ready
Draft
Development
Subject
List
N/A
User List
N/A
Unit
System
Integration
Functional
Acceptance
Test Case
Developer
List
Test Case
Priority
LIst
List
P4
P3
P2
P1
P0
Use case
Usability
Uptime
Upgrade
Stress
Security
Scalability
Regression
Performance
Limits
HW Enablement
Functional
Feature
Interoperability
Fault Injection
Exploratory
Testing
Documentation
Testing
Test ID
N/A
Test Name
N/A
Write the test steps in active voice. When you use active voice, the person
executing the test gets clear instructions on how to perform the test steps.
Use on action per step and clearly state whether the action should be
performed by the tester or the application.
Validate that the fields indicated in the test exist and are labeled the same
way as they are labeled in the system being tested.
Calling a Test
You can build the steps of a test to include calls to other tests. This enables you to
modularize and reuse a standard sequence of steps across multiple tests.
To call another test as a step within a test:
1. Click the Design Steps tab of the calling test.
2. On the Design Steps page toolbar, click the Call to Test button. The Select
a Test dialog box appears.
3. Select the test to call and click OK. This adds a step in the current test and
labels it as Call <TEST_NAME>. If you call a test that has unassigned
parameters, the Parameters of Test dialog box appear. You now assign the
parameters value.
Test Parameters
A parameter is a variable that can be assigned a value during test execution.
Parameters provide flexibility by enabling each calling test to dynamically change
its values. You use parameters to control test execution by specifying data values at
run time.
You can use parameters in the Description and Expected Result sections of a test
step.
Defining a Parameter
To define a parameter:
1. From the test plan tree, select a test.
2. Click the Design Steps tab.
3. On the Design Steps page toolbar, click the New Step button. The Design
Step Editor dialog box appears.
4. Place the cursor in the Description field or the Expected Result field of the
step in which you want to define the parameter.
5. Click the Insert Parameter button. The Parameters dialog box appears.
6. Click on the New Parameter button. New Test Parameter dialog box appears.
7. In the Parameter Name field, type a name for the parameter and click OK.
The new parameter is added within the step as <<parameter_name>>.
Note: A parameter name cannot include any of the following characters: ~ ?
<
8. Click Ok to close the Design Step Editor dialog box.
When you call test that contains parameters, you can set the values that you want
to pass to these parameters.
To call a test and pass values to its parameters:
1. From the test plan tree, select the calling test.
2. Click the Design Steps tab of the calling test.
3. Select the test that you want to call.
4. Click OK. Called Test Parameters dialog box appears.
5. In the Actual Value text box, type the values that you want to pass to the
parameters in the called test.
6. Click OK to add a new step that contains the call to the selected test and the
values that need to be passed to the test parameters.
Test-Requirement Relationship
Before you specify the detailed test steps, you can link tests to requirements to
verify if your test plan is focused on validating your project requirements. You can
define links between requirements and tests from the Test Plan module or the
Requirements module.
You can review the test-requirement relationship at any time during the testing
process to check how changes in requirements impact your test plan.
Note: You can also drag and drop requirements from the requirements tree to the
Req Coverage grid.
Note:The links that you define from the Requirements module are
automatically reflected in the Test Plan module. Similarly, the links that you
define from the Test Plan module are automatically reflected in the
Requirements module.
Summary
Review Questions
1. What is Quality Center Test Plan module is used for?
4. Where can you find information about how to import test cases from Excel to
Quality Center?
Lab Exercise
After adding or importing the requirements, you need to create tests to verify
whether requirements have been met.
Type
Release
Product
Functional
Area
Component
Name
OP
ESX
ESX Server
Storage
Field Value
Training
MANUAL
ESX
ESX Server
Storage
Manual
N
Draft
[your QC ID]
Functional
P1
Functional
This test case was created for training
purposes
d. Click OK button.
e. On the Design Steps toolbar, click on the New Step button. Design
Step Details dialog box appears.
f.
Type in Step 1 description goes in here text into the Procedure text
box area.
g. Type in Step 1 expected result goes in here text into the Expected
Result text box area.
h. On the Design Step dialog box toolbar, click on the New Step button.
i.
j.
Note:
f.
Note that Training test is displayed within the Test Coverage grid.
Test Execution
Lesson Objective
After completing this lesson, you will be able to:
Test Set
A test set is a group of tests designed to achieve specific testing goals. A test set
can contain a combination of manual and automated test instances. You can add
test instances of the same test multiple times to the same test set and across
different test sets so that you can reuse routines.
To understand the concept of test sets, consider smoke testing. Smoke testing is
nonexhaustive software testing that you use to verify the most crucial
functionalities of a software application. Smoke testing does not test the finer
details of a software application.
Consider that you want to test the logon functionality of an online application and
you perform smoke testing for this purpose. You build a test set to include test
instances that validate the logon functionality. This test set includes tests that
validate the user name and password used to log on to the online application.
You build another test set to include test instances that verify the logon functionality
in a particular Windows environment. This test set includes test instances that
validate the logon functionality on different Windows operating systems, such as
Windows XP and Windows Vista, and on different web browsers.
The two test sets combined together test all aspects of the online application.
Note: Folders can contain subfolders, and each subfolder can contain further
subfolders. Each folder or subfolder can contain a maximum of 676
subfolders.
Details Tab: A description of the test set currently selected in the test set
tree.
Execution Grid: Enables you to declare the test instances that make up
each test set, run test instances, and review the results of these executions.
Displays test instance data in a grid.
History: Enables you to view the changes performed for the selected test set
Note: If you select a folder containing tests that are already included in the test
set, you are prompted to select the tests in the folder that you still want to add.
Additionally, if the tests that have unassigned parameters, you are prompted to
enter values for parameters. You can also drag and drop tests from the test plan
tree to the Execution Grid to create test instances.
Last Run Result: Displays the execution results of the selected test from its
last test run.
ATLAS Integration
To post execution results into Quality Center from ATLAS, a special web service was
developed. Quality Center results posting will be enabled for every ATLAS test (old
and new). No modification needed on launchers or integrated test scripts. Other
automation frameworks could be integrated in the future using the developed web
service.
Bugzilla Integration
Even though Quality Center has its own Defect Tracking module, all defects will still
be tracked in Bugzilla. A button was created within the Test Lab module to launch
Bugzilla, Bug ID(s) field was created on the Test Run level to hold the corresponding
Bug IDs for each failed test case.
Summary
In this lesson you learned to:
Review Questions
1. Can the same test be added to the same test set multiple times?
2. How can I see the results from the previous executions of the same test
instance?
Lab Exercise
After creating the test plan tree, you create a test set to group several test
instances of the same test case and run them with different configuration
parameters.
Select
TRAINING
domain
and
Type
Release
Milestone
Cycle
Name
OP
Alpha
Alpha Cycle 1
Note: When you add another instance of the same test to the test
cases, it will prompt you to confirm your action. Click OK on the
Create Instance dialog box.
1. To execute all test instances within the test set using Manual Runner:
a. From the test sets tree, select the Training test set, you have
previously created.
b. On the right pane, click on the Run Test Set button.
c. From the Manual Test Run dialog box, select Manual Runner. Click OK.
d. Click on the Begin Run button to start executing the first test
instance.
e. Observe Procedure and Expectedfield values.
f.
g. Click on the End Run button to finish executing the first test instance.
h. Repeat steps d through g to execute the second test instance, only this
time, fail the selected step.
i.
Click on the End Run button to terminate test set run process.
j.
Observe the test instance status change on the Test Execution Grid.
Configure Dashboard.
Live Analysis Reports: Enables you to view real-time graphs for the
selected folder. This report type is available within the tree view of theTest
Plan and Test Lab Quality Center modules.
Module Analysis Reports: Gives you the ability to create, save and reuse
real-time graphs. The data for the report could be filtered by various
conditions. This type of reports has cross-project reporting capabilities.
Note: To load a favorite view, click its name from the favorite view list. After
loading a favorite view, click the Generate Report button to display the
updated data.
Trend Graphs: The Requirements and Test Plan modules provide trend
graphs specific to the tasks that they support. This graph type shows the
history of changes to specific fields over a specific period.
Graph Wizard
You use Graph Wizard to generate a new graph. This wizard takes you through the
steps for generating a new graph.
To run the Graph Wizard:
1. From the menu bar, select AnalysisGraphsGraph Wizard. The Graph
Wizard dialog box appears.
2. Select a graph type and click Next.
3. Select which projects to use to get data from and click Next.
4. Select a filter option and click Next.
5. Select a field by which data should be grouped in the graph.
6. Select the field containing the values that you want to plot on the x-axis and
click Finish to confirm your settings and generate the graph.
Configuring a Graph
You can define what data appears in a graph, and how the data is organized.
To configure graph:
1. In the analysis view, select the graph you want to configure.
2. Click the Configuration tab.
3. Configure graph settings
Use the Description tab to enter annotations about a graph. Note that this tab
can be edited only for graphs that are saved as favorite views.
Use the Copy Graph to Clipboard and Print Graph buttons to reuse a
graph.
Use the Edit Categories button to select the data that is plotted and
organized 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 Full Screen View button to view a larger display of the graph.
Use the Refresh button to adjust a graph to display the latest data and
settings.
Navigate to the Pie Chart tab to see how data from a Bar Chart is translated
to a Pie Chart. Not that this tab is only available for Summary and
Requirements Coverage graph types.
Excel Reports
You can export Quality Center data to an Excel report to analyze the data and
present it in a graph. The Excel report consists of data defined by Structured Query
Language (SQL) queries on the Quality Center project database. You can execute a
Visual Basic script on the exported data to perform calculations and analyze the
data.
In addition, you can generate a report that contains parameters. Using parameters
in a report enables you to reuse the report for different purposes.
Managing Reports
You define analysis items (graphs and reports) and create dashboard pages using
Dashboard module. To open the Dashboard module, click the Dashboard button on
the sidebar.
Dashboard View
In the Dashboard module, you create, view and manage graphs, standard reports,
and Excel reports, for analyzing Quality Center data. You also create dashboard
pages that display multiple graphs side-by-side.
The Dashboard module includes trees for analysis items and dashboard pages. Each
tree consists of Private and Public root folders. Under each root folder you develop
separate trees. Analysis items or dashboard pages that you create in a public folder
are accessible to all users. Analysis items or dashboard pages that you create in a
private folder are accessible only to the user who created them. Public dashboard
pages can include only public graphs.
Analysis items and dashboard pages in public folders may show different results for
different user, depending on the data hiding definitions for the user group.
Summary
In this lesson you learned to:
Configure Dashboard.
Review Questions
1. Which Quality Center module enables you to generate graphs?
2. Which report type allows you to export data to the Excel spreadsheet?
Lab Exercise
Part 1: Querying Quality Center Modules
To generate Number of Test Cases per Test Developer report for MN release:
1
Clear filter.
Click on the Filter button and setup the following filter conditions:
a
Subject: MN.
Click on the Group by tab, select the Test Case Developer condition.
8. Click on the Set Graph Appearance button, select Appearance tab, enable 3D
Graph checkbox.
9. Close Full Screen viewer.
10.Create Test Cycle Status by Tester:
a. Click on the Add Graph button.
b. Select Summary Graph and click on the Next button.
c. Select Status from the Group by drop-down list.
d. Select Tester from the X-axis drop-down list.
e. Click Finish.
11.View the graph in full screen mode.
12.Switch to the Data Grid view.
13.Switch to the Bar Chart view.
14.Close Full Screen viewer.
15.Click on different folder in Test Lab tree, show how graphs are generated for
each folder.
3. Select any requirement from the Requirements Tree and click on the Test
Coverage tab.
4. Make sure that Full Coverage checkbox is selected.
5. Demonstrate a list of test cases linked to this requirement and a pie chart at
the bottom of the page.
Project Administration
Lesson Objective
After completing this lesson, you will be able to:
Note: You can only add users to the following groups: VM QE Lead, VM QE
Tester, and VM QE Viewer. If you grant any other privileges to a user, they will
be removed by the automated audit procedure.
You can create a list items specific to your project, if they are not regulated by a
standard process.
To add an item to a list:
1. Navigate to the Project Customization page.
2. On the left sidebar click on the Project Lists icon.
3. From the Lists list, select the list you want to create an additional item for.
4. Click New Item. The New Item dialog box appears.
5. In the New Item dialog box, in the New Item Name field, type a name for the
item.
6. Click Ok to close the New Item dialog box.
Summary
In this lesson you learned to:
Review Questions
1. Which groups you can assign users on the project to?