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.

UITestActionExecutor::Hover Method (UITechnologyElement^, Point, Int32)

 

Hovers the mouse on the specified control for a given duration.

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

public:
virtual void Hover(
	UITechnologyElement^ control,
	Point relativeCoordinate,
	int millisecondsDuration
) abstract

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^

Control on which the mouse is to be hovered.

relativeCoordinate
Type: System.Drawing::Point

Co-ordinates relative to the control. If control is null, then absolute screen co-ordinates.

millisecondsDuration
Type: System::Int32

Duration of mouse hover

Return to top
Show: