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: Point

Point on the screen to hover the mouse.

millisecondsDuration
Type: Int32

Duration of the mouse hover.

Show: