New to Telerik Test StudioStart a free 30-day trial

Mouse Manager Class

The Mouse manager class is used to simulate moving the physical mouse and performing various types of mouse clicks. It has the following properties:

PropertyBrief Description
MouseMoveIntervalTimeGets/Sets the mouse interval time between mouse moves. The default is set at 15msec. Typically you don't need to change this. If you want to configure the speed of the mouse move, use the Settings.SimulatedMouseMoveSpeed.

It also has the following properties:

MethodBrief Description
CalculateOffsetCalculates the offset from the rectangles given a reference.
ClickSimulate a mouse click event.
DetectHotSpotGiven a rectangle and optionally a cursor, this function will detect the cursor change.
DragDropSimulates a mouse drag and drop operation.
GetCursorHandleGets the current Win32 cursor handle.
HoverOverSimulates a mouse hover over operation.
MatchCursorTests whether or not the current mouse handle matches a specified handle. Can be used to check if the current mouse cursor is a particular value.
MoveMove the mouse from the start to the end location.
TurnWheelSimulates moving the mouse wheel by a specified delta.
ValidateNonNegativePointValidate that the specified point coordinates is non-negative. If it is negative, it will be reset to zero.
Not finding the help you need?
Contact Support