# Test your document template

Once you have finished creating your template, you can test the same to ensure that the final document meets expectations.

To test your document, follow below steps:

* Click on the `Test` option located in the top right corner of the template details page.

![](https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FxmTxIqWNyMMtEcMt3jMe%2FTest%20form%201.png?alt=media\&token=e44a28a4-74f0-4abd-909d-38f810688466)

* A Test Form with fields detected from your template will be shown in a popup.

![Test form](https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FFISfz0ETiWs7tIYQlb6B%2FTesst%20form.png?alt=media\&token=ae6fe34f-713d-45a0-b31e-216202f817aa)

* Click the `Fill Sample Data` button to auto-populate the form with sample data, then click **`Test Template`** to generate a Test document.

<figure><img src="https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FO4O4cmuETQOIZqiMFmDK%2FTest%20form.gif?alt=media&#x26;token=b58dcc6c-f72c-4301-82c3-bdd7053f3853" alt=""><figcaption><p>Test form filled with Fill Sample Data option</p></figcaption></figure>

* Alternatively, you can enter sample data manually and click on `Test Template` button to generate the document.

<figure><img src="https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FM1IHH3UTQ3O4tEKOsrah%2FTest%20form.png?alt=media&#x26;token=d2cf71c3-e203-4043-aa74-7d81e7692e3b" alt=""><figcaption><p>Test form filled with data manually</p></figcaption></figure>

* To test using JSON, click the `JSON` button at the top-right of the test form. You can then either enter your JSON data manually or click `Fill Sample Data` to auto-populate the form, then generate the document.

<figure><img src="https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FKRIS67afr9tqbhEows8j%2FTest%20form%20(1).gif?alt=media&#x26;token=3228fbac-ea7b-4902-8c1d-1274cc614309" alt=""><figcaption><p>Test form using JSON</p></figcaption></figure>

* For quick testing, simply **Shift + Click** the `Test` button to generate document with the data used in previous tests.

<figure><img src="https://191679573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDwD-wIOendMUiQ8uVr%2Fuploads%2FXLwxv0XaQ1c2cgg7yfQM%2FTest%20form%202.png?alt=media&#x26;token=38967260-d040-4079-9664-d449d8d5daaf" alt=""><figcaption><p>Quick Testing</p></figcaption></figure>

{% hint style="info" %}
Document generated using test form will contain a watermark.

Any configured deliveries will not be executed.

This test data will be stored and can be reused for testing purposes.
{% endhint %}
