Configure Auto-logging of Defects
Last updated
Last updated
Auto-logging of defects is a feature in software testing tools that automatically creates defect reports when a test case fails. This process eliminates the manual effort required by testers to document and report defects, streamlining the entire testing process.
When a test case fails, the tool captures relevant information such as:
Test case ID and name
Test steps and expected results
Actual results and error messages
Screenshots or logs
This information is then used to automatically create a defect, which can be managed in defect management.
This document provides step-by-step instructions on how to configure the auto-logging of defects when a test case or test suite fails
Enable Auto-Logging:
Go to Admin > Projects > [Project Name] > Project Settings.
Locate the option for "Auto-Logging of Defects".
Enable the toggle switch to activate the feature.
Set Default Fields:
Assignee: Specify the default assignee for auto-logged defects.
Status: Set the default status for newly created defects (e.g., "Open," "New").
Priority: Define the default priority for auto-logged defects (e.g., "High," "Medium," "Low").
Labels: Assign default labels to help categorise and filter defects (e.g., "Functional," "Performance", "Production").
Test the Configuration:
Execute a test case or test suite.
When a test case or test suite fails verify that a new defect is automatically created in failed report and defect management with the correct information.
Auto-logged defect would be tagged in the failed step of the respective execution report or can be accessed in defect management as well.
Check the default values for assignee, status, priority, and labels.
Ensure that the mapping between test case and defect fields is accurate.