> 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/is-it-possible-to-create-a-test-scenario-in-which-the-user-goes-back-and-forth-between-two-screens-e.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# ふたつの画面 (例：ユーザ画面と管理画面) を行き来するテストのシナリオは作れますか？

可能です。 [ページ遷移ステップ (URLに移動ステップ) ](https://help.autify.com/nocode-web/autify-university/foundation/creating-a-scenario/go-to-url-button.md)を追加することで、複数の画面を行き来することが可能です。

現状のAutifyでは、あるシナリオで行った操作を受けて別のシナリオで反映されているかどうかを検証するなど複数のシナリオを跨いだ検証ができません。しかし、ひとつのシナリオ内でページ遷移ステップを活用することで、複数の画面を行き来する検証が可能です。

例えば、管理画面で設定した内容（項目の表示・非表示や文言の変更など）がユーザ向け画面に反映されているかどうかの検証をしたいなどの場合におすすめです。 この場合、アカウントを切り替えるためのステップを追加する必要もあります。そのようなケースでは、以下の図のような流れで、管理者ユーザとしてサインインをするステップグループ、サインアウト後にユーザ画面に一般ユーザとしてサインインをするステップグループなどを予め準備しておくと効果的です。

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

なお、ページ遷移ステップを多用するとステップ数が多くなってしまい、テストに失敗した場合後続のステップの検証ができないなどシナリオのメンテナンスが煩雑になる可能性があるので、できるだけ[シンプルなシナリオ作成をおすすめ](https://help.autify.com/nocode-web/when-the-test-doesnt-work/tips/why-should-i-keep-the-number-of-steps-in-a-test-scenario-small.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/is-it-possible-to-create-a-test-scenario-in-which-the-user-goes-back-and-forth-between-two-screens-e.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.
