# Defect Management

As described in the previous lesson, defect items can be generated automatically from an executed test case by a simple mouse click. Defects created in this way are linked with the respective test cases, and aqua automatically transfers helpful information into the defect item.&#x20;

Relevant data is available immediately and can be&#x20;

* accessed,&#x20;
* edited,&#x20;
* evaluated,&#x20;
* and analysed&#x20;

by different departments and persons respectively.&#x20;

As all other items in aqua defects are monitored, they have a history available that indicates every change to that defect, including information regarding the date and time of the change, the person who changed it, and the attribute that was changed. A defect contains a detailed description including  e.g. screenshots. Additionally, aqua provides the option to add further information in the form of attachments of any data type you want.&#x20;

In aqua, there are several ways of creating a defect.&#x20;

### **Creating a new Defect without dependency** <a href="#creating_a_new_defect_without_dependency" id="creating_a_new_defect_without_dependency"></a>

You can create a new defect without any dependency of a test case or requirement. Within the module Navigation, click on Defects in the menu bar and click on New to create a new defect. &#x20;

<figure><img src="http://aquawiki.andagon.com/pictures/drex_defect_management_rich_client_custom.png" alt=""><figcaption></figcaption></figure>

A new window will open specifying the new defect. All values have to be specified and there are no dependencies.&#x20;

### **Creating a new Defect by executing a test case** <a href="#creating_a_new_defect_by_executing_a_test_case" id="creating_a_new_defect_by_executing_a_test_case"></a>

While executing a manual test case, you have the option to create a new defect by clicking on New Defect.&#x20;

<figure><img src="http://aquawiki.andagon.com/pictures/drex_defect_management_rich_client_custom_2.png" alt=""><figcaption></figcaption></figure>

A new window with a new defect will open.&#x20;

<figure><img src="http://aquawiki.andagon.com/pictures/drex_defect_management_rich_client_custom_3.png" alt=""><figcaption></figcaption></figure>

The name is defined by default using the test case ID, test case name, and the test case step. “Found by”, “Found in”, and “Found at” are adopted by the test case. In the description, the defect is defined by default by the main facts of the test step. After saving the defect, you can analyse in dependencies how to reproduce the defect and which test cases have to be executed in order to specify that the functionality is fixed.&#x20;

<figure><img src="http://aquawiki.andagon.com/pictures/drex_defect_management_rich_client_custom_4.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aqua-cloud.io/documentation/desktop-client/defect-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
