How to automate MouseMove interactions?

September 10, 2009 at 10:02 am 1 comment

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.

Browser(“Browser”).FlexApplication(“TicketReservation”).FlexImage(“SelectOption”).MouseMove

Advertisements

Entry filed under: Flex Automation.

QTP 10 Code Hinting Not Working for Flex ? More about showInAutomationHierarchy

1 Comment Add your own

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

September 2009
M T W T F S S
« Aug   Oct »
 123456
78910111213
14151617181920
21222324252627
282930  

Most Recent Posts


%d bloggers like this: