# Linking a Test Case to Defect

Effectively manage your defect resolution process by directly associating test cases with specific defects within our test case management tool.&#x20;

This powerful feature streamlines your testing efforts, enhances defect tracking, and improves overall test efficiency, helping you,

* **Accelerated Defect Verification:** Quickly create test cases specifically designed to verify defect fixes by selecting the relevant defect from a dropdown list during test case creation.
* **Enhance traceability:** Easily track which test cases validate associates more defects, which in turn help you analyse the vulnerability of a user story implementation.
* **Enhanced Reporting:** Generate comprehensive reports that correlate test cases with defects, aiding in root cause analysis and quality improvement initiatives.

### Steps to Link a Test Case to Defect in SimplifyQA

1. Navigate to the test case module and open the test case you want to link to a defect.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2Fu26xSyfte96c90EF70RH%2FTest%20Case%20from%20left%20panel.png?alt=media&#x26;token=63305f54-4f1c-4a51-ace5-4a53de85393e" alt=""><figcaption></figcaption></figure>

2. Click on the "**Defects**" Option.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FIzzkMAvOaFKvg9l3FqwU%2Fdefect.png?alt=media&#x26;token=abe9606a-7c0c-4629-bd5b-c5cc71d667a8" alt=""><figcaption></figcaption></figure>

3. Select the Defect from the list of available defects.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FrZYZMsYDi2p8HaXrqsQq%2Flink%20defect.png?alt=media&#x26;token=f6cdc29d-4850-4941-b61f-ab4287126382" alt=""><figcaption></figcaption></figure>

4. Once selected, click Save to establish the link.
5. The test case will now be associated with the defect, ensuring traceability.

By linking test cases to defects, you gain better visibility into your testing process, improve defect management, and ensure that software quality is consistently maintained.

### Frequently Asked Questions (FAQs)

<details>

<summary>Why should I link a test case to a defect?</summary>

Test cases are created to verify defect fixes, ensuring that the issue has been resolved and does not reoccur. So linking the defects, help track the test execution specific to that defect fix.

</details>

<details>

<summary>Can I unlink a defect from a test case?</summary>

Yes, if a defect is incorrectly linked, you can unlink it from the test case.

</details>

<details>

<summary>Can I link a defect after test execution?</summary>

Yes, if a defect is identified later and there is a test case already created which covers the scenario, you can manually link it to the test case after execution.

</details>
