# Automation Library

In aqua, you have the option to reuse test automation scripts by using a library. That enables a user to store test scripts in a cloud and to use it in different test cases. A test script in a library can be reused in different test cases and test steps. If a test script is edited in one step, it is edited in the library, which means that all other changes in other test cases correlate accordingly.

To use this feature, enter a test case, open step designer and automation. Then click on *Show Libary.* &#x20;

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

If you click on the script, you have the option to add the script to a library. The destinations are shown in the library on the right-hand side, which is the folder structure of the actual project. After clicking on the Add to Library button

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

the script is inserted into the folder where the test case is stored. When you return to the navigation, you can find the script there. &#x20;

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

If you want to transfer a test script from a library to a test step, you can easily do so via drag and drop from the right-hand library tree.


---

# 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/automation/desktop-client/automation-library.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.
