Configure Auto-logging of Defects

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

Steps to Configure Auto-Logging:

  1. Enable Auto-Logging

  • Navigate to Project Settings: Go to Admin > Projects > [Project Name] > Project Settings.

  • Locate the option for 'Auto-Logging of Defects'.

  • Enable the toggle switch to activate the feature.

  1. 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").

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

Additional Tips:

  • Regular Review: Periodically review the auto-logged defects to ensure it remains accurate and up-to-date.

  • Auto-logging can create duplicate defects if multiple test cases fail for the same reason. Use this feature judiciously to prevent unnecessary clutter in your defect management.

Last updated