# Workflow をテスト

Workflow をテストするには、Workflow エディタ上部の「Test Workflow」ボタンをクリックします。

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

Workflow をテストできるパネルが開きます:

<figure><img src="/files/1ba891d9dc8c1f86b4a1f1041a4bc1546d68261e" alt=""><figcaption></figcaption></figure>

画像と動画ストリームで Workflow をテストできます。

1. 画像は、Hosted API、Dedicated Deployments、およびセルフホスト型サーバーでサポートされています。
2. 動画ストリームを UI でテストしたりデプロイしたりするには、Dedicated Deployment またはセルフホスト型サーバーが必要です。

ブラウザでは動画ファイルをテストできません。

#### 画像でテストする

画像でテストするには、Image 入力タブを選択し、画像をページの「Drop files here」セクションにドラッグ＆ドロップします:

<figure><img src="/files/0f7d33ebc8d42fbb9cfc69ed1e6164949c92323a" alt=""><figcaption></figcaption></figure>

その後、「Run」をクリックして Workflow を実行します。

テストインターフェースの右側に、Workflow の結果が表示されます。

デフォルトでは、Workflow は JSON を表示します。この JSON には、Workflow の「Output」セクションで設定されたすべての値が含まれています。

<figure><img src="/files/622274fa95ba9736eddcb76badf84da1d50f414b" alt=""><figcaption></figcaption></figure>

Workflow に画像出力が含まれている場合（つまり、モデルの結果を表示するために Visualization ブロックを使用する Workflow の場合）、テストインターフェース左上の「Visual」タブを選択することで画像をプレビューできます。

<figure><img src="/files/b1757f6826f25ac32623736e05d5ff8ff09ea173" 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/roboflow/roboflow-jp/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.
