# Test cases

### Step Designer

The step designer allows to create steps and conditions to create manual test steps. You can access the step planner by clicking on Steps in the navigation bar on the left side in a test case. A step consists of Index, Step type, Name, Instruction and Expected result. A valid test case requires at least one test step or one test condition. &#x20;

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

With Add Step or Add condition, you can create new steps and conditions. These can then be rearranged, deleted, duplicated or copied and pasted into another test case using the buttons in the ribbon bar. With the Ctrl key, you can also select several steps to copy and paste them into another test case. In addition to steps, you can also embed entire test cases as a [Nested Test Case. ](/documentation/items/test-cases-management/nested-test-cases-shared-test-cases-steps.md)

Conditions have an Instructions field that can be specified, and Steps have both an Instructions field and an Expected results field. These fields are rich text fields that can be formatted and screenshots or tables can be inserted just like the [description fields](/documentation/items/general-item-capabilities/creating-and-editing-items.md) of items.&#x20;

Below the input field, formatting buttons are displayed when you click inside the field. You can, for example, add a[ link ](/documentation/items/general-item-capabilities/item-template-defaults.md)or pictures or[ take a screenshot](/documentation/items/general-item-capabilities/take-screenshots.md) and edit and insert it. &#x20;

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

To save the changes you can either click on Test Case at the top of the tab or go to Details in the navigation bar on the left and then click on Save or you can simply use the [shortcut ](https://app.gitbook.com/o/kSM9ccXYoQwlhfFqpEsn/s/yZbW8vbNs5hz8x57emJJ/~/changes/98/web-client/general/shortcuts-and-accessibility)ctrl+s. In the [Project Settings](http://aquawiki.andagon.com/project_settings.html) you can also define that the expected result is a mandatory field, i.e. it cannot be empty. &#x20;

### **Actual result template**&#x20;

Define the default information that should always be included when the test execution starts. Navigate to the tab ‘Defaults’ and choose how you want it to be saved: as your personal setting or as a project setting. Each time you create a test case, your template will also include the actual result template. Start a test case execution, and the actual result will be pre-populated for you.&#x20;

<figure><img src="http://aquawiki.andagon.com/pictures/drex_step_designer_custom_3.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/items/test-cases-management/test-cases.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.
