> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/workflows/test-a-workflow.md).

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

{% hint style="info" %}
To run on a video stream, your Workflow must declare an image output (for example, from a Visualization block). The stream sends that rendered image back for the preview, so a Workflow with only JSON outputs cannot be run on video.
{% endhint %}

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

Image inputs accept JPG, PNG, and WEBP files. GIF images are not supported.

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>
