HtmlControlMouseClick Method (MouseClickType, Int32, Int32)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Uses the Desktop.Mouse object to move the mouse to a point relative to this HtmlControl and simulate the specified mouse click. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.

Namespace:  ArtOfTest.WebAii.Controls.HtmlControls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)

public virtual void MouseClick(
	MouseClickType clickType,
	int x,
	int y


Type: ArtOfTest.WebAii.CoreMouseClickType
One of the MouseClickType types
Type: SystemInt32
The X offset relative to the left edge of the control to click. May be negative.
Type: SystemInt32
The Y offset relative to the top side of the control to click. May be negative.
See Also