How to automate MouseMove interactions?
In Automation, by design the recording of lower level events are prevented. This is mainly to avoid the unintended recording of events. Let us take the example of mouse move. If the automation records the mouse move on any componet, as the user moves the mouse over the application itself, there will get a huge list of unintended script lines. So it makes sense not to unnecessarily increase the script size.
But many application uses mouseMove jesture in many case to bring up menu’s. Let us take when the user mouse over an image the applicaiton display a menu and the user clicks on the menu. In this case, user click on the menu will be recorded. But since the mouse over was not recorded, while replaying, the menu itself would not have come up and further work flow will break.
To handle this situation, automation framework allows mouseMove as a replayable event. i.e user can add the script line manually and during the replay of the script, the work flow will happen as expected.
A sample script line can look as follows.
Entry filed under: Flex Automation.