Bugzilla Tutorial: Defect Management Tool Hands-on Tutorial

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

Bugzilla is 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. 

Bugzilla Defect Management Tool

Some of the important Features of Bugzilla:

  • Search option with advanced features
  • Email notifications for any changes in 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 procedure. 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

Logging into Bugzilla

In this article, we will consider Landfill which is a demonstration site for Bugzilla. Navigate to Bugzilla.

The Welcome page will look as below:

Welcome page

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 know 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 below-displayed page

File a Bug

In this page, we can see all the products 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 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 summary for the bug
  • Description – A complete description of the bug
  • Add an Attachment – To provide any supporting file as 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

As seen in the screen above you can provide all these 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

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

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 the 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 1

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 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: https://www.bugzilla.org/docs

Bugzilla User Guide

Application screenshots from – https://landfill.bugzilla.org.

Please share your comments, questions, and thoughts below.


27 thoughts on “Bugzilla Tutorial: Defect Management Tool Hands-on Tutorial”

  1. i am quite interested in this automation testing method and i would like to know more about this one. like who would benefit, aside from testers? who would be able to log on the tracker? could the developer make the log?

    thank you very much! :D

  2. Hi I want to know more about bug tracker.I heard also about mantis which is also license free.Can u tell me the further detail of bugzilla.our company decide to install it.what is the procedure of installation.and what we do actually through bug trackers.

  3. @rajiv ,@raghavendra .@Kishore
    Hey guys..
    i dont think y there is so much abt Bugzilla..some its a simple bug tracking tool THATS ALL nothing more buddy..
    do dont drain ur energy on this trivial things at all..
    i dont think it will take more than 5 minute to understaand all this…

  4. Please provide me the basics of setting the premissions in bugzilla. i.e. how to aviod a reporter to report a bug other then assingee? , how to avoid any developer to further assign a bug which is assigned to him?

  5. Hello Sir,

    I need to install Bugzilla in my system.please do let me how to install as i tried all the ways but it is not installing the bugzilla and i need to configure in Xammp.

    I am waiting for your replay as soon as possible.

    Thanks
    Younus Ahmed.

  6. hi… I am novice to testing but i have enough knowledge of concepts of testing but how can i go for a project? can you send me some real time test cases of any website on my email id sampatnirav1984@yahoo.co.in plz help me I expect a lot from you…as i am not getting any help I posted many times.

  7. hi.
    Kindly send me the sample of bugzilla tracker. can i Download bugzilla in my system for own practise. If yes the tell me how?
    thanks
    Pooja

  8. Why don’t u post job openings in your respective companies?? it wil b helpful to all those who are serching for a job on testing..

  9. pls sir tell me more about the bugzilla provide us a good installation guide which help us to download and install bugzilla in to our system
    its so complicated to find a setup of bugzilla i do everything to find it but can’t so pls help me

    i am waiting for your response pls

  10. Hai Guys Can any one help me out here…………..please help me in installing Bugzilla and Apache JMeter in Windows 8.1………please reply as fast you can please.
    Thanks & Regards
    Shaik Mansoor Vali
    +91 9491 502 658

  11. Hi,I am a Begginer in Software Testing ,Does Bugzilla tool supports Applications Developed in PHP,ColdFusion?Which Tool supports PHP Applications??

  12. Can I get the document or PPT/ PDF contain, how to install the bugzilla and maintain in organization. and how to generate different types of reports from buzilla.

Leave a Comment