예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }