Ejemplo n.º 1
0
        public static void ClickButtonById(this UIAutomationFacade facade, string windowName, string automationId, int timeout)
        {
            ClickButton action = new ClickButton();

            action.WindowName    = windowName;
            action.AutomationId  = automationId;
            action.Timeout       = timeout;
            action.IsSynchronous = true;
            facade.Runner.Execute(action);
        }
Ejemplo n.º 2
0
        public static void ClickButtonAsyncByName(this UIAutomationFacade facade, string windowName, string name, int timeout)
        {
            ClickButton action = new ClickButton();

            action.WindowName    = windowName;
            action.Name          = name;
            action.Timeout       = timeout;
            action.IsSynchronous = false;
            facade.Runner.Execute(action);
        }
Ejemplo n.º 3
0
        public static void ClickButtonAsyncById(this UIAutomationFacade facade, int processId, string automationId, int timeout)
        {
            ClickButton action = new ClickButton();

            action.ProcessId     = processId;
            action.AutomationId  = automationId;
            action.Timeout       = timeout;
            action.IsSynchronous = false;
            facade.Runner.Execute(action);
        }
Ejemplo n.º 4
0
        public static void ClickButtonByName(this UIAutomationFacade facade, int processId, string name, int timeout)
        {
            ClickButton action = new ClickButton();

            action.ProcessId     = processId;
            action.Name          = name;
            action.Timeout       = timeout;
            action.IsSynchronous = true;
            facade.Runner.Execute(action);
        }
Ejemplo n.º 5
0
 public static void ClickButtonById(this UIAutomationFacade facade, string windowName, string automationId)
 {
     facade.Runner.UIAutomation().ClickButtonById(windowName, automationId, 0xea60);
 }
Ejemplo n.º 6
0
 public static void ClickButtonById(this UIAutomationFacade facade, int processId, string automationId)
 {
     facade.Runner.UIAutomation().ClickButtonById(processId, automationId, 0xea60);
 }
Ejemplo n.º 7
0
 public static void ClickButtonAsyncByName(this UIAutomationFacade facade, string windowName, string name)
 {
     facade.Runner.UIAutomation().ClickButtonAsyncByName(windowName, name, 0xea60);
 }
Ejemplo n.º 8
0
 public static void ClickButtonAsyncByName(this UIAutomationFacade facade, int processId, string name)
 {
     facade.Runner.UIAutomation().ClickButtonAsyncByName(processId, name, 0xea60);
 }