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

![](/files/qPlMoDi1llXQ1WYRtMdg)

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

![Test form](/files/iHWozLykwDByVUiuCnWe)

* 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="/files/j5X8owYfReWS8NVaYT9D" 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="/files/Ld92kqEGg7Py6aXYJLqV" 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="/files/HZBH21UD5rjeoFxv1eiS" 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="/files/ugNphcWUIMb9zDO8NE0h" 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 %}


---

# 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://help.docupilot.app/test-your-document-template.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.
