public static void ClickRightMouseById(this NataiveMethodsFacade facade, string windowName, string automationId, int timeOut) { ClickRightMouse element = new ClickRightMouse(); element.WindowName = windowName; element.AutomationId = automationId; element.TimeOut = timeOut; element.Execute(element); }
public static void ClickRightMouseByName(this NataiveMethodsFacade facade, string windowName, string controlName, int timeOut) { ClickRightMouse element = new ClickRightMouse(); element.WindowName = windowName; element.ControlName = controlName; element.TimeOut = timeOut; element.Execute(element); }
public static void ClickRightMouseById(this NataiveMethodsFacade facade, int processId, string automationId, int timeOut) { ClickRightMouse element = new ClickRightMouse(); element.ProcessId = processId; element.AutomationId = automationId; element.TimeOut = timeOut; element.Execute(element); }
public static void ClickByRightMouse(this NataiveMethodsFacade facade, AutomationElement targetElement, int incrementX, int incrementY, int timeOut) { ClickRightMouse element = new ClickRightMouse(); element.IsFindByUser = true; element.IsSetPostion = true; element.targetElement = targetElement; element.IncrementX = incrementX; element.IncrementY = incrementY; element.TimeOut = timeOut; element.Execute(element); }