We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Mouse.Hover Method (Point)

Moves the mouse to the specified location.

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

public static void Hover(
	Point screenCoordinate
)

Parameters

screenCoordinate
Type: System.Drawing.Point
Point on the screen to which to move the mouse.

Show: