> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/autify-university/foundation/creating-a-scenario/can-i-test-file-upload.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# ファイルアップロード

## ファイルアップロードの検証

Autifyではファイルアップロードの検証が可能です。ファイルをアップロードするには、まずアップロードするファイルを選択する必要があります。レコーディング中に実際にファイルを選択する操作をすることで、自動で「ファイルを指定する」ステップがシナリオに追加されます。

## 「ファイルを指定する」ステップ

シナリオに追加された「ファイルを指定する」ステップをクリックすると、アップロードするファイルが確認できます。ファイルは更新ボタンから差し替えることが可能で、ファイル形式に制限はありません。ファイルはAutify クラウド環境上に保管されます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-097e287fad8bc10e49335756c0457fe7690da31f%2Fja-choose-file.png?alt=media)

### 留意点

「ファイルを指定する」ステップには、いくつか留意すべき点があります。

#### 非対応 <a href="#not-supported" id="not-supported"></a>

* iOS実機環境でのテストは非対応です。
* ローカルリプレイは非対応です。詳しくは[こちら](https://help.autify.com/nocode-web/faq/faq-create-scenario/faq-recording/local-replay-stops-at-choose-file-step.md)をご覧ください。
* 複数ファイルの一括指定は非対応です。
* フォルダの指定は非対応です。

#### 制限事項 <a href="#limitations" id="limitations"></a>

* ファイル名は255バイトまでです（※UTF-8のため文字によりバイト数が異なります。基本的な日本語は3バイトです）。
* ファイルサイズの上限は1ファイルあたり50MBまでです。
* ファイルサイズの上限は1シナリオあたり80MBまでです。

{% hint style="warning" %}
**既知の問題**

外部デバイスファーム環境において、上限に近いサイズのファイルをアップロードした際、テストシナリオが失敗することがあります。「ファイルを指定する」ステップで内部エラーが発生した場合、より小さなサイズのファイルを使用してみてください。
{% endhint %}

## 関連記事

* [ファイルダウンロードの検証はできますか？](https://help.autify.com/nocode-web/faq/faq-create-scenario/faq-file-assertion/can-i-test-file-downloads.md)
* [PDFの内容をテストすることは出来ますか？](https://help.autify.com/nocode-web/faq/faq-create-scenario/faq-file-assertion/can-i-test-pdf-content.md)
* [ファイルのアップロードがレコーディングできない・テスト実行に失敗する](https://help.autify.com/nocode-web/when-the-test-doesnt-work/test-issues/i-cannot-upload-files-properly.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/autify-university/foundation/creating-a-scenario/can-i-test-file-upload.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
