Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }