# 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>
