# Run Dependency

You can set a dependency of test cases within a test scenario. This means that if a single test case failed, none of the other test cases should be executed. To do so, use these buttons:

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

This enables you to set dependencies to marked test cases. In the following example, test case 2 will only be executed if test case 1 passed, and test case 3 will only be executed if test case 2 passed.

<figure><img src="http://aquawiki.andagon.com/pictures/drex_run_dependency_rich_client_custom_2.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/test-scenarios/run-dependency.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.
