Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Mouse.Hover Method (Point, Int32)

 

Pause the mouse at the specified point for a specified duration.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public static void Hover(
	Point screenCoordinate,
	int millisecondsDuration
)

Parameters

screenCoordinate
Type: System.Drawing.Point

Point on the screen to hover the mouse.

millisecondsDuration
Type: System.Int32

Duration of the mouse hover.

Return to top
Show: