Defect Management Tool

Defect Management Tool Hands-on Tutorial 

              Defect/Bug tracking tool

Software development teams and software testing teams have numerous choices of defect management tools to help support their software defect efforts. From a high-level view, defect management systems are made up of a combination of some defect management tools or tool and a defect management process. These two primary components work together to support each other. Ignore either one, and sub-optimal results can be expected.

Defect/Bug tracking tool

We have various types of bug tracking tools available in software testing that helps us to track the bug, which is related to the software or the application.

Some of the most commonly used bug tracking tools are as follows:

  • Jira

  • Bugzilla

  • BugNet

  • Redmine

  • Mantis

  • Trac

  • Backlog


Jira

Jira is one of the most important bug tracking tools. Jira is an open-source tool that is used for bug tracking, project management, and issue tracking in manual testing. Jira includes different features, like reporting, recording, and workflow. In Jira, we can track all kinds of bugs and issues, which are related to the software and generated by the test engineer.

Defect/Bug tracking tool

To get the complete details about Jira tool, refer to the below link:

https://www.javatpoint.com/jira-tutorial

Bugzilla

Bugzilla is an open-source Bug tracking tool. Many companies are using this open-source tool for managing the software development process.

Bugzilla is a defect/bug tracking tool. Defect tracking systems allow developers and testers to track all the outstanding defects. Bugzilla can be linked to other testing tools like JIRA, QC or ALM, etc. Bugzilla is developed in Perl and runs on MYSQL server. 

Some of the Important Features of Bugzilla

  • Search option with advanced features

  • Email notifications for any changes in the bug report

  • History of all the changes

  • Can link different defects for tracking purpose

  • Attachment support

  • Secured

  • A stable backend system to store and retrieve all the data

  • Various interfaces like Web and console

  • Customizable user interface

  • Many configuration options useful for project

  • Easy and stable upgrade and maintenance

Bugzilla System Requirements

Bugzilla is a freeware and the installation includes certain procedures. It basically requires:

  • Perl

  • Database Engine (MySQL, Postgre SQL. Oracle)

  • Web server (Any web server that can run CGI scripts)

  • Bugzilla Files

  • Perl Modules

  • Mail Transfer Agent

NOTE: To explore the features of Bugzilla please create a new account at this link  Bugzilla Test On Mozilla.

Logging in to Bugzilla

The Welcome page will look as below:

Welcome page of BugZilla Tool

If you are first time user then click on Open a New Account

Open a New Account

Enter the Email id with which you want to log in and click Send. A confirmation email will be sent.

Enter a Email id

Click on the link in the email to continue setting the password.

(Note: Click on any image for enlarged view)

Continue Settings

Enter the password and click on Create. You will be automatically logged in and the page is displayed as below

logged in a page

This is your Home Page. Let us now look into the icons present in the Home Page viz File a Bug, Search, User Preferences and Quick Search.

File a Bug

1) Click on File a Bug icon and the page will navigate to the below-displayed page

File a Bug

On this page, we can see all the product classification headers that are available to the user.

2) Now click on All link. This will show you all the products that are present in each of the classification headers.

All links

3) Now click on the product in which you want to log a bug. In this article, we will consider the Food Replicator product from the Unclassified header.

The user is now in entering Bug for FoodReplicator screen.

Enter Bug for Food Replicator

The fields that are present in the default bug screen are:

  • Product – Which we selected on the previous page

  • Component – Each product can be split into one or more components based on the use or functionality etc.

  • Version – Version of the product in which the bug was detected

  • Reporter – Email id of the person logging the bug

  • Severity – Severity of the bug

  • Hardware and OS – Machine details from which bug is logged

  • Summary – To provide a summary for the bug

  • Description – A complete description of the bug

  • Add an Attachment – To provide any supporting file as an attachment

  • Submit a Bug – To submit the bug and create a Bug ID

Now let us see what fields are present in the Advanced View. Click on Show Advanced Field Link in the screen.

Advanced view Fields

As seen in the screen above you can provide all this extra information in your bug.

Possible Duplicates: Let us revert back to our default page and type in “test” in the summary text box. Now Bugzilla fetches you any possible duplicate defects that are associated with the Summary that we typed in.

Possible Duplicates

Now click on Add me to the CC List. It will open the bug details along with who all are present in the mailing list for the bug.

Add me to the CC List

Add me to the CC List 1

No Duplicates: Enter the details for the bug and click Submit Bug

Details for the bug

Details for the bug 1

Now let us see the Search icon on the Homepage

Search

Search icon on Homepage

Simple Search

Simple Search

  • Status – Provide bug status

  • Product – In which product-component it is present

  • Words – Any particular string to search

Click on Search. It will populate all the results for the search criteria mentioned

All the results for Search criteria

Now when we scroll down to bottom there is an option to Remember these search criteria

Option to Remember

Provide your search name and click on Remember Search

Click on Remember Report

When you go back to the Home Page the search that we saved is reflected in the My Bugs section

My Bugs section

Advanced Search

There are a lot of search criteria to filter out in Bugzilla. Each of the sections is shown below in the Advanced Search option.

Advanced Search

Advanced Search 1

Advanced Search 2

Exporting the Data from Bugzilla

You can export the search results from Bugzilla CSV or XML formats.

Exporting the Data from Bugzilla

User Preferences

User Preferences

There are many customizations that can be done in Bugzilla.

General Preference

General Preference

Email Preference – Here user can set  any notifications emails that one wants to receive

Email Preference

Saved Searches – Here we can access the searches that have been saved by the user. Also, we can use the other saved searches present in the particular Bugzilla server.

Saved Searches

Account Information – To manage the account’s password information

Account Information

Permissions– Gives details about what are the permissions available for the user logged into the system

Permissions

Reports

Bugzilla has a lot of filter options using which we can generate customized reports.

The fields that are present in generating a report are

  • Vertical Axis – Any field that is represented along your Y-axis

  • Horizontal Axis – Any field that is represented along your X-axis

  • Multiple Tables – Defines how the report generated will be grouped

Let us generate a report and see how Bugzilla interprets the options

Generate a report

Now, give the values in Vertical Axis -Assignee, Horizontal Axis-Bug ID field and Multiple tables-Status

Enter some string for the search and click on Generate Report.

The report generated looks like

Report generated

Report generated continue

So the report is grouped based on the field specified in the Multiple Tables field and respective X and Y-axis has been populated.

Now in the bottom of the page, there is an option for the user to view the same report in Bar chart, Line Chart or a CSV format report

CSV format report

Also, the user can save the report using the Remember Report option at the bottom of the page

Enter a Report name and click on Remember Report

Click on Remember Report

The Report gets reflected on the Homepage

Report reflection

References: Bugzilla