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

# The test fails on mouse over step

If the "hover over element" (or mouse-over-hover) step fails with an "element not found" error, the target element for recording the step may be incorrect.

## Example usage

### Drop-down menu

For example, the "Guides" on autify.com will not appear unless you hover the mouse pointer over "Resources". If you add a hover step to "Resources," a menu item such as List of Documents will appear when the test is run. For details on how to add hover-steps, please refer to [here](https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/hover-step.md).

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

### Tooltips

A "tooltip" is a speech bubble-like UI that appears when the mouse cursor hovers over link text or other elements. If you want to test an element such as a tooltip that disappears when the mouse is removed from the hover element, display the target element in the JS Step and then test the target element. Here is a [snippet of the JS Step](https://javascript-snippets.autify.com/snippets/mouse/mouseover/).

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-7d73dd2bf453e991dcdb03df61f87349426f956d%2Fmouse_over_step_fail_pointing_target_2.png?alt=media)

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

## Examples of things that can go wrong.

### When the parent element is completely hidden by mouseover

In some cases, such as when the element displayed on mouse-over is very large, the parent element may be completely hidden. In this case, the mouse-over step will be recorded for the displayed element. After recording the mouseover step, specify the CSS selector for the parent element.


---

# 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/en/when-the-test-doesnt-work/test-issues/the-test-fails-on-mouse-over-step.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.
