D L & T P: Uality Entre
D L & T P: Uality Entre
DEFECT LOGGING
& TRACKING PROCEDURE
Table of Contents
1 INTRODUCTION..............................................................................................................................3
2 DEFECT LIFECYCLE.......................................................................................................................3
2.1 DEFECT LOGGED.................................................................................................................................. 3
2.1.1 Summary Naming Convention.................................................................................................... 3
2.1.2 Defect Details............................................................................................................................. 4
2.1.3 Description.................................................................................................................................. 5
2.2 DEFECT CYCLE.................................................................................................................................... 6
2.2.1 Valid defect................................................................................................................................. 6
2.2.2 Not Enough Information.............................................................................................................. 7
2.2.3 Duplicate..................................................................................................................................... 7
2.2.4 Not a Valid Defect....................................................................................................................... 7
2.2.5 To be Fixed in a Later Release................................................................................................... 7
3 APPENDIX A – DEFECT LIFECYCLE.................................................................................................8
4 APPENDIX B – DEFECT PRIORITY CATEGORIES..............................................................................9
5 Appendix C – Defect Types.....................................................................................................10
Quality Centre Defect Logging & Tracking Process
1 Introduction
This document defines the process by which defects should be logged, tracked and updated using Mercury
Interactive’s Quality Centre application. Within Quality Centre there are a number of ‘projects’. The project
under which a defect is logged whilst testing software is the ‘ABCD’ project.
By following this process a developer should have sufficient information to reproduce a defect found in the
Software Under Test (SUT). Once a developer is able to recreate a defect in the development environment
they should be able to fix the code. This will also enable any tester to retest the defect fix once it has been
deployed to the test environment.
2 Defect Lifecycle
The defect lifecycle, as shown in Appendix A – Defect Lifecycle, should be adhered to by all colleagues
involved in logging and updating a defect.
NOTE: if a defect is found whilst executing a test then the defect should be raised from the script. The
Defects tab should only be used when a defect is found outside a test.
The following must be completed in order for a defect to be logged correctly in Quality Centre.
ENV Environment in which the defect was found. i.e. DevTest, INT2, OPS2 or UAT
PROJECT Project being tested when the defect was found. i.e. Martini Phase 1
FUNCTIONAL AREA The area within the project where the defect was found in. i.e. Add To Basket
SUMMARY Brief summary of the defect. Avoid going into too much detail.
Example
Defect found whilst testing Order Details page on ABCD. The Summary would be:
Page 2 20/07/2011
Quality Centre Defect Logging & Tracking Process
Detected By: this field will automatically populate with the name of the person logging the defect
Build: n/a
Project: select the project where this defect was found from the list
Subject: optional, but a good idea to select for larger projects where there are numerous functional
areas
Platform: enter the platform being tested. This is particularly important when executing Compatibility
test cases
Page 3 20/07/2011
Quality Centre Defect Logging & Tracking Process
Priority: select the priority from list. Priority categories are shown in Appendix B – Defect Priority
Categories
Status: this field will automatically populate with the status of ‘New’ when a new defect is logged
Browser: enter the browser being tested. This is particularly important when executing Compatibility
test cases
Environment: select the environment where the defect was found from the list
Defect Type: select defect type from the list. Defect Types are shown in Appendix C – Defect Types
2.1.3 Description
The defect detail is very important as it is used by the developer to recreate the defect. It may also be used
by another tester to retest the defect once it has been fixed and deployed to the test environment, and so
should be as complete as possible.
Where a defect is logged directly from a test case in the Test Lab, the test case details will be automatically
included in the defect. REMEMBER that a developer cannot view the test cases, and so does not know what
test case was being executed when the defect occurred.
Page 4 20/07/2011
Quality Centre Defect Logging & Tracking Process
Description field:
enter as much detail as possible. Include a detailed description of the problem together with ‘Steps to
Recreate’ and any other information that would be useful to the developer
Errors:
- Include screenshots of any error messages on the website. These can be attached to the defect
using the ‘Attach Screen Capture’ button
- If any related Errors or Warnings are found in EventViewer on the server, attach these using the
‘Paste’ button (this will attach them to the defect rather than including them in the description)
- Where there are no related Errors or Warnings, this should be stated
Example
An error is displayed on the Order Details page where the eGiftcard table should be (even though there are
no eGiftcards to display). This error has been introduced with the deployment of the fix for DR 23549.
To recreate:
1. place a grocery order
2. log onto ABCD
3. search for customer
4. click order number link - errors
The Lead Developer will assign the defect to a developer to fix. Once the developer is working on a fix the
status should be updated to ‘Fix Pending’.
Once the defect has been fixed and retested in the DevTest environment, the developer should complete the
following:
- add a comment in the R&D Comments section of the Description. This should detail what caused the
defect and how it was fixed. It should also show the related TD or Work Package. This will help
developers in the future should the defect be reintroduced to the test environment.
Example: dllhost.exe.config had references for 2.1.144.0 component. The file has been re-deployed
with correct references.
- enter the version number that the defect was fixed in the ‘Fixed In Version’ field on the Details tab
Page 5 20/07/2011
Quality Centre Defect Logging & Tracking Process
Once the defect fix has been deployed to the test environment, the Test Lead should update the status to
‘Fixed Retest’ and assign the defect to a tester.
The tester should retest all defects assigned to them with a status of ‘Fixed Retest’ once a Sanity/Smoke
Test has been completed on the release. There are two possible outcomes of a retested defect:
- the defect was fixed – the tester should:
add a note to the R&D Comments field indicating that the defect has been fixed and closed
update the status to ‘Closed’
- the defect was not fixed – the tester should:
add a note to the R&D Comments field indicating why the defect is not fixed. Include any
additional information which may be helpful
assign the defect to the Test Lead
update the status to ‘Open’
The developer may also find that they need more information from the tester, and so can also assign the
defect back to the tester who logged it after updating the status to ‘Need More Info’. The tester should update
the defect with the required information, update the status to ‘Open’ and assign it back to the Test Lead for
review.
2.2.3 Duplicate
It is the responsibility of the Test Lead to ensure that duplicate defects are not passed to developers. Where
duplicates are found, the Test Lead should update them with a status of ‘Duplicate’ and note the duplicate
defect number on the Details tab in the Duplicate Reference field. Duplicate defects should not be included in
the defect counts for reporting purposes.
Page 6 20/07/2011
Quality Centre Defect Logging & Tracking Process
Page 7 20/07/2011
Quality Centre Defect Logging & Tracking Process
The following table defines the priority categories to be applied to defects raised in Mercury’s Quality Centre.
Priority 1 defects can also be assigned a ‘Red Light’ indicator, which is used to prioritize a particular critical
defect over other critical defects.
Defects should be initially prioritised by the project Test Lead. The Project Manager owns the defects, and
can agree reprioritisation with the Test Lead where necessary.
Page 8 20/07/2011
Quality Centre Defect Logging & Tracking Process
Page 9 20/07/2011