> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/aqua-intelligence/create-test-cases-in-seconds-with-aqua-intelligence/create-a-test-case-from-a-test-case-page.md).

# Create a test case from a test case page

You can generate a test case from the test case page itself too. The minimum required to create a test case is a bit of a context, but the more information you contribute, the more comprehensive test case will be generated.

{% hint style="info" %}
Please note that you can create only one test case from a test case page. This is useful when you want to generate a positive path test case alongside a negative one, and vice versa.
{% endhint %}

To create a test case, first click the 'Test' button.

<figure><img src="/files/rzc6EDLxeyN0hvnNQZr3" alt=""><figcaption></figcaption></figure>

If you have multiple requirements linked to a test case, you need to select only one requirement as a basis to generate more accurate test cases.&#x20;

<figure><img src="/files/9l3MomZwg9laQK0unkNR" alt=""><figcaption></figcaption></figure>

If you have only one requirement, then no actions are required, it will be taken as the basis for a test case generation.

If you don't have any requirement linked, then you can decide based on which option you want your test case to be generated.

You can either proceed with a description as context, link a requirement or upload a file.

<figure><img src="/files/5CxI9eitr9AclrLMdsAY" alt=""><figcaption></figcaption></figure>

Once you provided the base information, select number of steps you prefer and a path.

Once a test case is generated, you can add it as an additional test case to the repository or update the existing one.

<figure><img src="/files/BTU0Mg9P6zPQ9U4sJMrK" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.aqua-cloud.io/documentation/aqua-intelligence/create-test-cases-in-seconds-with-aqua-intelligence/create-a-test-case-from-a-test-case-page.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
