In this article, you will learn how to reproduce a defect and what to do if the bug does not occur again.
Let's start with the definition of a defect.
A defect or bug is a discrepancy between the program's actual and expected results. Bugs are found at the software testing stage when a tester checks the program performance against the expected results described in the requirements specification.
When you find a bug, don't immediately report it to the bug tracker with the description «nothing works!». Instead, reproduce the bug. Does it appear again? Then minimize the number of steps to reproduce it and make sure there's nothing redundant.
If you use specific input data, ensure that it does not contain unnecessary information. Once you understand what kind of data and actions cause the problem, summarize the problem - write a bug report summary (description).
«Steps to reproduce» is the main field in a bug report. Write down the identified steps. As already mentioned, the number of steps should be sufficient and optimal to reproduce the problem. Don't write redundant steps, and don't skip important ones.
To report bugs correctly, you need technical skills and an understanding of the product architecture to be tested. When it comes to web testing, you should include in the bug report the error code returned by the server, look at the details with the help of Firebug, and provide detailed information.
Imagine you have found a bug yet can't reproduce it. What to do in such cases? Should you report this defect or not?
First, you need to be sure that you are following the same steps as last time. There is a possibility that you might have missed something.