# Linking Existing Defects

<details>

<summary>Step 1: Change Test Case status</summary>

Inside a Test Run, adjust the Test Case status to "Failed"

</details>

<figure><img src="https://1326643208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnpMhTPhBTwVaw7bZVBjY%2Fuploads%2Fgit-blob-5b1ee1d2df674c8d78182cea9c174a0ffcf09d17%2FTest%20runs%20-%20View%20test%20run.png?alt=media" alt=""><figcaption><p>Select "failed" from the drop-down menu in the status colum.</p></figcaption></figure>

<details>

<summary>Step 2: Confirm creation of a new Defect</summary>

A notification will appear asking if you would like to confirm the creation of a new Defect.\
\
Hit "Create new Defect" to continue or "Skip" to set the failed status to the Test Case without adding a new Defect.

</details>

<figure><img src="https://1326643208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnpMhTPhBTwVaw7bZVBjY%2Fuploads%2Fgit-blob-fd39b9ee4eac2d1c7d7c953cae530132b465d94b%2FTest%20runs%20-%20View%20test%20run-1.png?alt=media" alt=""><figcaption><p>A confirmation will appear asking you to confirm the creation of a new Defect.</p></figcaption></figure>

<details>

<summary>Step 3: Linking the defect to a Test Case</summary>

A sidebar will appear on the right with fields to include Defect information. You can also place a link in the field when referring to an already existing Defect.

</details>

<figure><img src="https://1326643208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnpMhTPhBTwVaw7bZVBjY%2Fuploads%2Fgit-blob-8e64337cc05d5ac3a074cd57114dcea73379fe9d%2FTest%20runs%20-%20View%20test%20run%20-%20Link%20defect%20-%20Custom.png?alt=media" alt=""><figcaption><p>Input the Defect information and click "Create a new Defect" at the bottom.</p></figcaption></figure>

Now that you can create and link Defects to failed Test Cases, we will show you how to rerun a Test Run. Click "Next" to see how.
