ATGTestInput.Input.MoveToAndClick C# (CSharp) Method

MoveToAndClick() public static method

Move the mouse to an element and click on it. The primary mouse button will be used this is usually the left button except if the mouse buttons are swaped.
If there is not clickable point for the element
public static MoveToAndClick ( AutomationElement el ) : void
el System.Windows.Automation.AutomationElement The element to click on
return void
        public static void MoveToAndClick( AutomationElement el )
        {
            if (el == null)
            {
                throw new ArgumentNullException("el");
            }
            MoveToAndClick(el.GetClickablePoint());
        }

Same methods

Input::MoveToAndClick ( Point pt ) : void