> 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/when-the-test-doesnt-work/test-issues/troubuleshoot-hover-step-need-review.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# マウスオーバーで現れる要素の操作が失敗/要確認になってしまう

ページ上の特定の要素にマウスオーバー（ホバー）した際に、ドロップダウン式のメニューやボタン等が表示されるというデザインは、多くのサイトで使用されています。

ユーザーのマウスオーバー操作に応じて現れたり消えたりする要素は、多くの場合マウスオーバーの時点で新たに生成されるようになっていたり、マウスオーバーが行われるまで見えない・触れない状態であったりします。

こうしたケースでは、例えばその要素に対するクリックやアサーションをレコーディングしただけでは、テスト実行時に以下のような事象が発生する場合があります。

* 誤った要素や、まだ表示されていない要素を選択してしまい[要確認](https://help.autify.com/nocode-web/autify-university/foundation/test-results/review-needed-flag.md)になる。
* 「対象の要素が見つかりませんでした。」あるいは「対象要素が操作できません。要素の状態を確認してください。」といったエラーが発生する。

この問題の解決方法は、マウスオーバーして表示される要素に対する操作ステップの前に、[ホバーステップ](https://help.autify.com/nocode-web/autify-university/foundation/creating-a-scenario/hover-step.md)を挿入することです。

以下は、誤った要素を選択してしまい、要確認となった例です。

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

ステップ2の前に、ホバーステップを追加することで要確認の発生を回避することができました。

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


---

# 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/when-the-test-doesnt-work/test-issues/troubuleshoot-hover-step-need-review.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.
