> 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/roboflow/roboflow-jp/workflows/test-a-workflow.md).

# Workflow をテスト

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

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

そこからWorkflowをテストできるパネルが開きます。

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

Workflowsは画像と動画ストリームでテストできます。

1. 画像は、Hosted API、Dedicated Deployments、そしてself-hosted serversでサポートされています。
2. 動画ストリームをUIでテストしてデプロイするには、Dedicated Deploymentまたはself-hosted serverが必要です。

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

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

画像でテストするには、Image inputタブを選択し、画像をページの「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 blockを使用するWorkflow）が含まれている場合は、テストインターフェースの左上隅にある「Visual」タブを選択して画像をプレビューできます。

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/workflows/test-a-workflow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
