- Print
- DarkLight
Actions on elements that appear on mouseover results in Fail or Review Needed
Many sites are designed so that elements, such as drop-down menus and buttons, appear when a user performs a mouseover (hover) action on a particular element on the page.
In many cases, elements that appear and disappear when the user hovers over them are newly generated when the mouseover action happens, or are not visible/interactive until the mouseover is performed.
In these cases, recording a click step or an assertion may result in:
- The wrong element or an element that is not yet displayed is selected, resulting in a Review Needed status.
- Errors such as "Element not found." or "Element is not interactive." occur.
To work around this problem, insert a hover step before the action step for the element that appears on mouseover.
In the example below, the wrong element is selected, resulting in a "Review Needed" status:
By adding a hover step before step 2, we have avoided the Review Needed status: