# Test a Workflow

To test a workflow, click the "Test Workflow" button at the top of the Workflow editor.

<figure><img src="/files/MaxnYMwKGukThrEkiPXb" alt=""><figcaption></figcaption></figure>

A pane will open from which you can test your Workflow:

<figure><img src="/files/cIJ8SnM8XE3HFBz58LC2" alt=""><figcaption></figcaption></figure>

You can test Workflows on images and video streams.

1. Images are supported on the Hosted API, Dedicated Deployments, and self-hosted servers.
2. Video streams require a Dedicated Deployment or self-hosted server to test in the UI and deploy on.

You cannot test on video files in the browser.

#### Test on an Image

To test on an image, select the Image input tab then drag and drop an image into the "Drop files here" section of the page:

<figure><img src="/files/jKhfnhYwWcw1F2yoEIYL" alt=""><figcaption></figcaption></figure>

Then, click "Run" to run your Workflow.

You will see the result of your Workflow on the right side of the testing interface.

By default, the Workflow will show JSON. This JSON contains all the values configured in the "Output" section of your Workflow.

<figure><img src="/files/CbWN0ni8vQ74b9EL5zGy" alt=""><figcaption></figcaption></figure>

If your Workflow contains an image output (i.e. a Workflow that uses a Visualization block to show the results from a model), you can preview the images by selecting the “Visual” tab in the top left corner of the testing interface.

<figure><img src="/files/qaB6RglQqor4XhMSr7Q0" alt=""><figcaption></figcaption></figure>


---

# 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.roboflow.com/workflows/test-a-workflow.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.
