HP Quality Center / ALM is now changed to Micro Focus Quality Center / ALM but still, the content on the page is valid on the new Micro Focus domain and tools as well
Through the series of these tutorials, we have seen how to create Releases, Cycles, Requirements, tests and test sets in ALM. We also saw how we can establish logical relationships among these entities to make the metric collection as well as traceability an inbuilt activity in our testing process.
Also in the Test Lab, we executed some tests. If the test passed, then all is well. If it fails, there is a reason for the same. Commonly, any deviation from the expected value is a Defect.
Apart from that, Defects can be:
- Variation in expected and actual results
- Documentation errors
- Un-testable requirements that you want to report and track
- Environment failures that prevent you from testing
QC has a wonderful mechanism that lets you create and track any kind of Defect. In the following steps, we will see how Defect Management is supported through ALM.
What You Will Learn:
How To Add A Defect To ALM
Step #1: Login to ALM to the right project and go to the “Defects” tab by navigating from the sidebar. The lists of Defects under the project are displayed in a list here.
Step #2: Click on “New Defect”. Enter the required details. As you can see all the fields in red are mandatory to enter. (click on any image to enlarge)
Step #3: Choose Defect type
Step #4: Choose Severity
Step #5: Enter other details and describe the Defect in the “Description” box. You can provide attachments. The other tabs in this dialog are for additional details. Again, Project-Specific.
Step #6: This Defect will now appear in the list. It has a unique ID to be identified with.
Step #7: You can now change its status.
Step #8: Assign it to another user
Step #9: Or if this Defect is linked to any other Defect or you can do so, by choosing “Linked Entities” from the left sidebar and choose the other Defect that is causing or affecting this Defect.
How To Link The Defect To A Test Case
Step #1: Go to the Test lab tab and choose the test that failed and the defect is related to that failure.
Step #2: Click on “Linked Defects”. Here you can either add a new defect and link it by click on this icon: If you do so, follow the steps that you did in the above section and the Defect created will get linked.
Step #4: Enter the ID and click “Link”. The Defect gets linked.
Step #5: The linked Defect can be seen in the Test Plan as well as Requirements.
That finishes our end to end flow from Release to defects.
For more details on how to write a good Defect Report, refer to this sample Defect Report.
Points To Note
#1) We have worked with adding a new cycle under a release in tutorial number 3 and it is mainly a testing-related activity. Similarly, you can add a “New Milestone” signifying a certain step in your Project Management Activities.
#2) Even though ALM is a Test Management tool, the development, and other support teams also have access to it. One of the reasons is to update the Defect status.
#3) The attachments for a Defect are not mandatory but always provide a screenshot of the error in the attachment whenever applicable and possible.
#4) The mandatory fields to be entered during the creation of a defect are defined by your Admin and may differ from project to project.
#5) The other drop-down values are also defined by your admin.
Now you are equipped with everything you needed to know how to use QC for all your Test Management activities. All we need to know now is how to use its analysis features to make the test reporting and metric collection activities an integral part of your QA process.
We will learn the “Dashboard” sidebar option that facilitates the same in the next tutorial which happens to be our last.
Again you may want to visit and bookmark our first Quality Center Tutorial page where we have listed all the tutorials in this training series.
Please provide your feedback and let us know if there any topic that you need more information on.