Move action

The Move (mousemove) action tells the agent to move the mouse to a set of defined x,y coordinates within a specific object on the page. This action is recorded when the user moves the mouse pointer over a Flash object on the screen and allows the agent to perform interactions within a Flash element on the page.

This action consists of the following properties:

targetWindow

The target window is be the window containing the element with which the agent is interacting.

locators

The locators reference the Flash element on the page.

coords

This is a list of x,y coordinates relative to the top left corner of the Flash element defined by the targetWindow and locators. When the agent executes the mousemove action, it moves the mouse to these positions, with a 250ms wait between each coordinate on the list.

clientWidth and clientHeight

When the user interacts with Flash content on a page, the Recorder captures the width and height of the browser window used for recording. The clientWidth and clientHeight values are used to resize the playback window to match the size used for recording, before performing the Click action. This makes for more reliable playback for Flash interactions against applications that scale to fit the window size.

Currently, the Move action is only supported in the Firefox agent. The IE, Chrome, and Mobile agents ignore any Move actions in a script.