Raising a defect in software development and testing is crucial for Quality Assurance which is central to any software development process. Defects, also known as bugs or issues, can significantly impact the quality of the software. Identifying and addressing defects is essential to ensure that the software performs as expected and meets user requirements.
During a Test Execution, you may encounter a scenario where the functionality does not perform as expected, resulting in a failed Test Case. If the user cannot perform a task as intended, the Test Case is considered Failed, indicating a discrepancy between the Actual and Expected Results. In such instances, a Defect or software Bug has been identified. It is important to document this defect in a systematic manner to facilitate ongoing monitoring until it is resolved.
To raise a Defect during Executing a Test Case within a Test Run, follow the steps below:
1. Expand the Test Case to show all the Test Steps.
2. Click on the cog icon on the right of the Failed Test Step to open a pop-up window. From this screen you will be able to include an Actual Result, Link existing or create a new Issue, Attach Files and update the Step Result.
3. Click the Plus (+) icon to the far right of the Linked Issues to create a new Issue. You can also create an Issue in a foreign Project by clicking the Project icon on the Left to choose from a list of Projects.
4. A new screen Create Issue will be displayed.
5. Choose the Issue Type as ‘Bug’ and fill in the required details. You can also attach screenshots, and other evidence. Ensure to mention the Issue Key in the Issue field, so that the Bug is linked to the respective Jira Issue.
6. Click Create to create the Defect.
The new Issue created will be displayed under Linked Issues.
In case you do not want to create a new Defect, but simply link an existing one, search for the Defect you wish to link in the Linked Issue field in the pop-up screen. Select the issue from the options listed below.