> 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/it/knowledge-base/how-to-articles/test-variables.md).

# Variabili di test

{% hint style="warning" %}
Affinché la password sia disponibile come variabile, deve andare nelle ***Impostazioni di sicurezza*** della voce e selezionare ***Consenti password nella variabile***. Se l'opzione è disattivata, deve attivare ***Consenti variabili password per tutte le voci*** e ***Consenti variabile password nelle macro*** in ***Amministrazione – Impostazioni di sistema – Criteri delle password***.
{% endhint %}

{% hint style="warning" %}
Se utilizza la modalità di credenziali ***Collegata (cassaforte)*** nelle sue voci, dovrà abilitare l'opzione ***Consenti password nella variabile*** anche nella voce delle credenziali collegate.
{% endhint %}

La ***Macro di digitazione automatica*** di Remote Desktop Manager è davvero utile per simulare l'interazione dell'utente. Viene utilizzata principalmente per eseguire l'accesso automatico sulle pagine web, ma consente di eseguire comandi shell avanzati su vari sistemi operativi.

A volte è necessario confermare esattamente cosa verrà inviato quando si utilizzano le nostre Variabili.

Un semplice trucco consiste nel creare un file batch che si limita a stampare tutto ciò che viene inviato sulla riga di comando.

Basta copiare quanto segue nel suo editor preferito e salvarlo come file di comando; ho chiamato il mio parrot.bat

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

Ora è sufficiente creare una sessione Command Line (External Application), impostare la riga di comando sul percorso del file parrot.bat e aggiungere subito dopo le variabili.

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

Ora, quando esegue la voce, vedrà esattamente quali valori vengono inviati.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/rdm/it/knowledge-base/how-to-articles/test-variables.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
