# Testing Automations

## Testing Automations

Testing your bots and automations is a critical step when building your portfolio. Testing allows you to observe how your bot works, diagnose potential issues, and ensure that automations function as you intend.

There are multiple ways to test your bots. We recommend running bots in a paper trading account before using live capital.

We encourage you to continuously test all facets of a bot to feel confident your strategies execute correctly. It is important to test in multiple environments, capital structures, and trading limits.

You can always test any automation type individually by clicking the “**Run Test**” button.

<figure><img src="https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/66b267ac843884e2a3d74aed_66b26796f9ba44cc44f3db14_run-test.png" alt=""><figcaption></figcaption></figure>

The test feature allows you to verify the automation’s logic will function the way you expect it to and identify where any issues may occur.

You can choose any bot to run the test in and even assign custom inputs. Testing an automation in different bots lets you view the results for additional capital allocations and position limits.

When testing an automation, live market data is used when evaluating decision recipes. You can view all information immediately in the Automation Log.

<figure><img src="https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/66b267ac843884e2a3d74ae9_66b267a39fb92216f2f1379f_test-automation.png" alt=""><figcaption></figcaption></figure>

Testing your bots is also a proactive way to review how different variables affect the bot. For example, changing a technical indicator may determine whether or not a position will be opened or closed at the end of the automation.

{% hint style="info" %}
Remember, this is only running a test inside the bot. Positions will not be opened, and no actions will be visible in the Bot Log. Testing is a great way to verify your bot’s decision-making parameters and outcomes.
{% endhint %}


---

# 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.optionalpha.com/technical-documentation/troubleshooting/testing-automations.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.
