HtmlControlMouseClick Method (MouseClickType, Point, 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,
	Point offset,
	OffsetReference reference
)

Parameters

clickType
Type: ArtOfTest.WebAii.CoreMouseClickType
One of the MouseClickType types.
offset
Type: System.DrawingPoint
A point relative to the reference specified to click. The x and/or y values may be negative.
reference
Type: ArtOfTest.CommonOffsetReference
Which point on the HtmlControl is used as the reference point.
See Also

Reference