The Application Lifecycle Management-Defect
The Application Lifecycle Management-Defect
BEST PRACTICES
Table of Contents
Preface..........................................................................................................................3
Introduction...................................................................................................................3
The Application Lifecycle Management........................................................................3
Management.................................................................................................................4
Releases.......................................................................................................................4
Cycles...........................................................................................................................5
Requirement.................................................................................................................5
Test Plan.......................................................................................................................6
Guidelines to export Excel data to HP ALM..............................................................7
Test lab........................................................................................................................12
Defects........................................................................................................................12
Test Run......................................................................................................................14
Report generation.......................................................................................................14
Preface
Introduction
This document is a generic for use by projects in TCoE. It provides guidance and
template material which is intended to assist the relevant team in using ALM
effectively for project management and execution. It is also useful for anyone
involved in planning or monitoring of project activities.
The Application Lifecycle Management
Process
The application lifecycle management process with ALM includes the
following phases:
Phase Description
Management
This area helps us to create and manage releases and cycles and also to
helps us make project planning and tracking. Management tab helps us to
work with the following areas in ALM:s
1. Test Cycle: For any Release create Test Cycle under Release folder
Test Cycle_1.0
2. Name Release Name_Test Cycle Name_1.0
3. Start Date This field is necessary to track when a particular test
cycle started
4. End Date - This field is necessary to track when a particular test
cycle end
Releases
All the work item such as libraries, test execution and defects are tracked
based on the release.
Cycles
Each release is further divided into cycles
Requirement
The Requirements module enables users to define, manage and track
requirements at all stages of the software lifecycle.
Test Plan
Parent Folder name - 10_Folder_name
o Example: 10_Project_name, 20_Project_name
Sub folder name - 01_Subfolder_name
o Example: 01_system, 02_regression
Scenario folder name - 01_Scenario_name
o Example: 01_rebate, 02_cashback
Test case name TC01_scenarioname_positive
o Example: TC01_Check rebate for the month of july_positive
o TC02_Check rebate for the month of july_negative
Comment
Prerequisites
Step Name (Design Steps)
Description (Design Steps)
Expected (Design Steps)
2. Select the cells that contain the data that one want to export. Do
not include the column headings row in selection.
3. In Excel, open the HP ALM Export wizard. Click the Add-ins tab and
click the Export to HP ALM button.
The HP ALM Export Wizard - Step 1 of 8 dialog box opens.
Type a new map name. Create a new map. This map is saved for
reuse on the same machine.
8. Click Next. button The HP ALM Export Wizard - Step 6 of 8 dialog box
opens.
The left pane displays all the available ALM fields for the data type that
one has selected in Step 4 of the Export Wizard. Required fields are
displayed in red. The right pane displays the mappings of ALM fields to
columns in excel worksheet. To change the mapping, click Back button.
9. Click Export button. The HP ALM Export Wizard - Step 6 of 8 dialog
box opens.
10.
If an error occurs while exporting the worksheet, the HP ALM
Export Wizard - Scan Error Report dialog box opens. Review the
errors. To save the errors as a text file, click the Launch Notepad
button. The row numbers in the error report refer to the rows that is
selected, and do not correspond to the worksheet row numbers.
For example, Row 1 indicates the first row one has selected. Click Close
button to exit the wizard. Correct the errors and start again at step 1
11.
If one successfully exports worksheet to ALM, the HP ALM
Export
Wizard - Step 8 of 8 dialog box opens. Click Finish button.
12.
Refresh the view in ALM. Review the exported data and make
the necessary additions and adjustments.
Suggestions:
Tip: Before one begins the export process, one need to ensure that the
column names and letters remain visible. One can either reduce the zoom
level of the worksheet so that all the columns are visible, or copy the
column names and letters to a separate application.
Test lab
Naming convention for release folder - Rel-Name of release 1.x.x
Naming convention for execution cycle
o System testing 10_FeatureName, 20_FeatureName
o Regression testing 10_Regression_cycle1,
20_Regression_cycle2
Defects
The Summary of Defect should be precise,unique and should
convey the defect baseline.
Defect description should include complete and comprehensive
information about defect.
Screen shots should be attached to defect.
Defect should be correctly linked to the test step at which it is
encountered,so that the defect fixer can go back to test set and
review steps and duplicate the actual result.
In case the defect is to be fixed in the next cycle as per Test
plan,the Target Release should be assigned to new one and
Target Cycle should be assigned to next Cycle.
In case the Defect is related to another Defect already logged into
the system,create Defect link between the two.
Before closing a Defect,a tester should go to linked entities and
make sure all test instances associated with Defect have passed.In
case any tests are in Failed status,then the Defect should not be
closed.
Entering comments by team members at time of changing any
Defect field is a good practice.
Defect Analysis
The intent of defect analysis is to identify causes of defects so they can
be prevented or detected earlier.The goal of defect analysis is to plan
defect prevention activities,common causes of defects are identified and
mitigated.Most organizations with well-defined processes can benefit from
some application of defect analysis. Maximum benefit obtained from,
Test Run
When click respective run id link . On test run details section screen
includes
Test Set Name : Auto populated module name from Test Lab section
for running test case.
Test Cases Name/Test Instance: Auto populated This consist unique
test case name.
Test case run Id : This is auto generated unique test cases run id.
Run Type: actual test case execution type Manual/Automation
Run Name : <Run Name>_Test case Unique id
Test case status: Passed/Failed/Blocked/No Run
Tester Name : automatically populated test cases executed tester
name
Report generation
ALM/ Quality Center offers four tools for reporting purposes,
Dashboard module
For creating textual reports or graphs based on field values
With Graph Wizard one can create an own graph
Document Generator
For generating project level Word documents one can get all project
data into a single document.
Analysis menu in each module
Standard Reports and Graphs that can be customized and saved to
Dashboard module for future use
Live Analysis in Test Plan and Test Lab
Defect Status
Plan Vs Scheduled
Test Completion