> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/test-variables.md).

# Test variables

{% hint style="warning" %}
For the password to be available as a variable, you must go in the ***Security Settings*** of the entry and check ***Allow password in variable***. If the option is greyed out, you need to activate ***Allow password variables for all entries*** and ***Allow password variable in macros*** in ***Administration – System Settings – Password Policy***.
{% endhint %}

{% hint style="warning" %}
If you are using the ***Linked (vault)*** credential mode in your entries, you will need to enable the ***Allow password in variable*** option in the linked credential entry as well.
{% endhint %}

Remote Desktop Manager's ***Auto Typing Macro*** is really helpful to simulate user interaction. It is mostly used to perform automatic logon on web pages, but you can run advanced shell commands on various operating systems.

Sometimes you need to confirm exactly what will be sent when using our Variables.

A simple trick is to create a batch file that just types out whatever is sent on the command line.

Just copy the following in your favorite editor and save it as a command file, I named mine parrot.bat

```
@echo off
echo.
echo.
echo %*
echo.
echo.
pause
```

Now it is a simple matter of creating a Command Line (External Application) session and set the command line to the path of the parrot.bat file and add the variables right after.

`"C:\tools\parrot.bat" $DOMAIN$ $IP$ $USERNAME$`

Now when you run the entry, you will see exactly what values are sent.


---

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

```
GET https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/test-variables.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.
