> 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/faq/faq-create-scenario/faq-recording/what-can-i-do-with-record-here.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# 「ここにレコーディング」で何が出来ますか？

Autifyでは、作成済みのシナリオにあとからステップを追加する際に作業が楽になるように、追加したい箇所までの操作を自動で進める **ローカルリプレイ** という機能を提供しています。

例えば、ログイン後の画面に正しく文言が表示されているかを確認するシナリオに、確認したい文言を追加するような場合は、追加レコーディング時に対象の画面にいたるためログイン操作を行う必要がありますが、その操作をローカルリプレイが代わりに実施します！

## 基本的なつかいかた

例えば以下のシナリオのステップ5と6の間にステップを追加したい場合

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

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

ステップ5と6の間に表示される **＋** をクリックし **ここにレコーディング** を選択すると、レコーディングウィンドウが起動し、ステップ5までの操作が自動で進みます。

ローカルリプレイが動作している最中は以下のダイアログが表示されます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-fdffe17232b0d835b6e5a40feb7911acc927869d%2Fzndsk-ss__2021-03-08_20.53.07.png?alt=media)

正常にステップを追加したい箇所までの操作をリプレイできた場合は、以下のダイアログが表示され、以降は新規にレコーディングする際と同様にクリックや入力といった操作が記録され、各種アサーションを追加できる状態になります。

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

※ローカルリプレイが中断した場合については当ページ下部のエラーになった場合の対処の記事をご参照ください。

## 注意事項 <a href="#notes" id="notes"></a>

### 「ローカルリプレイ」と「テスト実行」の違い <a href="#differences-between-local-replay-and-test-execution" id="differences-between-local-replay-and-test-execution"></a>

ローカルリプレイは、作成済みのシナリオにあとからステップを追加する際に作業が楽になるように、追加したい箇所までの操作を自動で進める機能です。ローカルリプレイ時には、**各種アサーションステップにおける処理を行わない** など、テストの実行とは処理が異なるところがあります。 そのため、**ローカルリプレイをテスト実行の代わりに使うことはできません。** テストが成功するのか失敗するのかといった確認は、実際にテストを実行して確認していただく必要があります。また、テスト実行は実行回数またはクレジットが消費されますが、ローカルリプレイはテストではないため何度実行しても実行回数またはクレジットは消費されません。

### 中断したい場合

**中断方法**

もし何らかの事情で「ローカルリプレイ」による操作を中断したい場合は、ダイアログに表示されている **中断して手動で操作する** をクリックすることで中断できます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-fdffe17232b0d835b6e5a40feb7911acc927869d%2Fzndsk-ss__2021-03-08_20.53.07.png?alt=media)

**中断後のレコーディング方法**

中断直後は、以下のような「リプレイを中断しています」のメッセージが表示されますが、消えるまでお待ちください。 この時点では一切の操作が記録されない状態になっています。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-4d24451c207b501c34604831ff3e8f648cff8765%2Fabort_replay_1\(1\).png?alt=media)

メッセージが消えたら、レコーディングしたい操作の直前まで、手動でクリックやページの移動などを行ってください。 レコーディングを再開する準備ができたら、「Autify Recorder」左から2つ目の一時停止アイコンをクリックし、操作を記録できるようします。「Autify Recorder」のメッセージが、これから記録されるステップが挿入される箇所を教えてくれます。(下図では、ステップ4の後に追加操作が記録されます)

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-5160aa538f973bb543bd4b08403086997411b15d%2Fabort_replay_2\(1\).png?alt=media)

レコーディングを有効にすることで、新規レコーディング時と同様に操作が記録されるようになります。なお、以下の図のように赤い●が点滅している状態がレコーディングが有効であることを示します。

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

### 「ローカルリプレイ」が不要な場合

「追加したい箇所までのステップ数が多く途中のステップを割愛したい」など、何らかの理由で「ローカルリプレイ」による自動操作が不要な場合は、「ここにレコーディング」ではなく **ここにレコーディング（リプレイなし）** を選択して、追加レコーディングを開始してください。

### エラーが発生し、止まってしまった場合

[こちらの記事](https://help.autify.com/nocode-web/faq/faq-create-scenario/faq-recording/during-local-replay-an-error-occurred-why.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/faq/faq-create-scenario/faq-recording/what-can-i-do-with-record-here.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.
