Application Lifecycle Management Module 5
Application Lifecycle Management Module 5
Students learn how to work with the Desktop client and the new Web client. In
addition, using the HP Sprinter and its new features are discussed, including:
Objectives:
After completing this module, you should be able to:
Specify requirements
So, what are we waiting for? Let us now explore the Lifecyle
Management of Application
Introduction
Requirements are the foundation of the entire testing process and should
describe in detail what needs to be solved or achieved to meet the objectives of
your application under development.
Defining requirements clearly and correctly at the beginning of a project has
the following advantages:
Aids development and testing – Clearly defined requirements help
developers set a target for themselves and the testing team to identify
their testing priorities.
Helps prevent scope creep – Documented requirements are the best
defense against scope creep, where requirement documents are
continually amended and appended, impeding software development
and testing efforts. Avoid constant changes with clearly defined goals at
the start of the project. You can then use that goal as a reference to focus
on individual efforts.
Sets clear expectations between teams – Defining requirements and
gaining approval from relevant stakeholders is the best way to ensure
that expectations have been agreed upon by all parties involved—
product marketing, customer service, IT, and documentation. Ensure
that all necessary parties are involved in creating requirements. Then
confirm and validate their expectations.
Saves time and money – “Measure twice, cut once” is a phrase used in
carpentry, but it also applies to defining requirements. Save time and
money by taking time at the beginning to invest in your requirements.
Characteristics of a Useful Requirement
A useful requirement is always:
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
Page |4
Requirement Types
Specifying Requirements
What Is a Requirements Tree?
ALM helps you define requirements for the testing process in a
hierarchical form. You use the Requirements module to build a
Requirements tree to outline and organize the requirements of a project.
You typically organize requirements according to the functional
components of the application under test. The functional category is then
further broken down according to the type of requirements, such as
functional compared with performance. Your organization can follow
other conventions.
For example, the figure on the slide above shows the requirement
tree for the Mercury Tours application.
The Requirements tree also includes the Performance
requirement, which indicates the performance area that requires testing.
A test is a series of steps that check whether a requirement is met.
A test can be manual or automated and can be executed in a single stage
or in multiple stages of the testing process. If a test fails, you log defects
to indicate that a requirement has not been met.
Using the Requirements Tree View
You use the Requirements Tree view to add requirements within
the requirements hierarchy.
The Requirements Tree view displays the parent-child
relationship between requirements. This enables you to analyze
requirements with respect to their position in the requirements
hierarchy. Viewing requirements in the Requirements Tree view enables
you to determine the relationship of requirements with other entities,
such as tests and defects. If a child requirement is linked to a test, its
parent requirement automatically links to the same test. Similarly, if a
defect is logged against a child requirement, the same defect appears in
the Requirements Tree view for the parent requirement.
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
Page |6
Creating a Requirement
To create a requirement, perform the following steps:
1. From the Requirements tree, select Requirements and click the
New Requirement button. The Create New Requirement dialog
box is displayed.
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 Name field, type an appropriate name for the new
requirement and click the OK button. The New Requirement
dialog box is displayed.
Note: A requirement name cannot include any of the following
characters: \ ^ *.
The following is the list of the standard fields that you can use to
describe each requirement in more detail. If your project needs to
capture additional data, your ALM administrator can configure the
Requirements module to include custom-defined fields and selection
lists.
Name – Assigns a short description of the requirement. ␣
Requirement Type – Indicates the type of the requirement,
which may be business, folder, functional, group, testing, or
undefined.
Author – Indicates the name of the user who created the
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
Page |7
You use the Requirement Details view to view and change the
values specified for various fields of a requirement. In addition, you use
the Requirement Details view to display requirements according to tests
with which they are associated, the requirements with which they are
traced, and the defects with which they are linked.
To display the Requirement Details view, from the Requirement
module menu bar, select View →Requirement Details. The Requirement
Details view is displayed.
In the Requirement Details view, in the left pane, select a
requirement. The right pane displays the following tabs for the selected
requirement:
Details – Enables you to view and change the values of fields
specified for the selected requirement
Rich Text – Enables you to add, view, and edit rich text using an
editor from within ALM
Attachments – Enables you to add attachments to a requirement
Linked Defects – Lists the defects linked to the currently selected
requirement
Requirements Traceability – Enables you to associate the selected
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
Page |8
Test Coverage – Lists the tests associated with the currently selected
requirement
In the right pane of the Requirement Details view, the Details tab
displays the following tabs:
Description – Displays a description of the selected requirement.
You type this description while creating a requirement. You can
modify this description.
Comments – Displays the comments added by various users for
the selected requirement. It also displays the username of the
user who added the comment and the date and time when the
comment was added. If required, you can add a new comment.
The rich text editor has the same functionality for data input as
Microsoft Word. The content is fully searchable and reportable.
You create templates using the rich text feature. These allow you
to standardize and control your requirements by enforcing customized
templates and to facilitate capturing requirements in a consistent
structure across your entire organization.
The rich text editor includes the following features:
An HTML editor
Expanded viewable area
Available as searchable field
Enables using a rich text template
Note: You use the Tools →Customization menu to create templates.
To open the rich text editor, perform the following steps:
1. Click View→ Requirement Details.
2. Click the Rich Text tab.
To apply a Requirements template using the Rich Text feature, perform
the following steps:
1. Click the Apply Rich Text Template button. A warning message is
displayed stating that the template will overwrite the existing
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
Page |9
content.
2. Click the Yes button.
Using Traceability
Requirement Relationships
You use the Relationships tab to view traceability links that exist
between requirements. In addition, the Relationships tab enables you to
add and remove traceability links between requirements. The
Relationships tab provides the Trace From and Trace to grids for
working with traceability links.
The Trace From grid displays requirements that affect the
requirement selected in the Requirements tree. For example, the
screenshot in the above slide shows that the Flight Tickets requirement
is affected by any changes to the Flight Reservation Service requirement.
The Trace To grid displays requirements that are affected by a
change to the requirement selected in the Requirements tree. For
example, the window in the slide above shows that any change to the
Flight Tickets requirement affects the Origin and Destination and the
Service Class requirements.
The Relationships tab provides tools for working with traceability
links. The window in the slide above shows the available tools.
Impact Analysis
Traceability Matrix
Not Affected By
Affecting
Not Affecting
11. If you selected Affecting or Not Affecting for Include Source
Requirements, select one of the three options:
Direct Children And Traced To Requirements
Direct Children
Traced To Requirements
12. Click the Set Filter/Sort button to set the filter/sort for linked
requirements.
13. Click the filter by linked tests link.
14. Select the checkbox for Filter by Linked Tests.
15. Select Include Source Requirements Linked To Or Not Linked To
The Following Tests.
16. Click the Set Filter/Sort button to set the filter and sorting for the
linked tests.
17. Click the OK button in the Configure Traceability Matrix dialog
box.
The results of the risk analysis calculation display in the following ways:
The Total Required Testing Time field – Displays the total testing
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
P a g e | 17
After finalizing the testing policy for your requirements, you can
generate a risk report that details your testing strategy for the analysis
requirement.
To generate a risk report, perform the following steps:
1. On the Risk page, click the Report button. The Generate Report
dialog box is displayed.
2. In the Generate Report dialog box, type the name and location of
the Word file to which you want the data to be exported in the
Default Location field. Alternatively, click the browse button to
select a location from the Save As dialog box.
3. To add the report as an attachment to the analysis requirement,
check the Add Report as Attachment checkbox.
4. To include a list of assessment requirements included in the risk
analysis, check the Include List of Requirements in the Report
checkbox.
CS-6302 APPLICATION LIFECYCLE MGT
WORKING WITH REQUIREMENTS AND ANALYZING RISK
P a g e | 18
Test Coverage
Linked Defects
Mailing Requirements