HtmlControlMouseClick Method (MouseClickType, Int32, Int32, OffsetReference)

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)
Syntax

public virtual void MouseClick(
	MouseClickType clickType,
	int Xoffset,
	int Yoffset,
	OffsetReference reference
)

Parameters

clickType
Type: ArtOfTest.WebAii.CoreMouseClickType
One of the MouseClickType types.
Xoffset
Type: SystemInt32
The X offset relative to the specified reference to click. May be negative.
Yoffset
Type: SystemInt32
The Y offset relative to the specified reference to click. May be negative.
reference
Type: ArtOfTest.CommonOffsetReference
Which point on the HtmlControl is used as the reference point.
See Also

Reference