-
Print
-
DarkLight
Adding a Hover Step
Sometimes, there are places where a mouseover is required in order to open a dropdown or modal window. Because there is no action being made such as a click, normally these would break the recording and fail in testing. Enter the "Hover Step".
When and How to Add a Hover Step
A "Hover Step" should be used for any place that requires you to move and keep your mouse over that area to interact with an element. Usually this comes in the form of a popup, a dropdown, etc. By adding a hover step, Autify will know to keep that element open so that another element can be selected or asserted against in the next step.
Adding a Hover Step
Adding a "Hover Step" can be done by following the below instructions:
- Move your mouse over to the desired element or area.
- Once your mouse is in the correct place and the dropdown is open, right click (or ctrl click for Mac) to open the context menu.
-
In this menu, you should see an option the says "Add Hover Step". Click that option.
-
You have now added your Hover Step! Now you can interact or assert against the elements inside that popup or dropdown as normal. When reaching the scenario, you should see the hover step labeled as "mouseover".
Next Section: Reviewing and Editing your Scenario