Exemplo n.º 1
0
        public static void ClickMenuById(this UIAutomationFacade facade, int processId, string automationId, int timeOut)
        {
            ClickMenu menu = new ClickMenu();

            menu.ProcessId    = processId;
            menu.AutomationId = automationId;
            menu.TimeOut      = timeOut;
            menu.Execute(menu);
        }
Exemplo n.º 2
0
        public static void ClickMenuByName(this UIAutomationFacade facade, int processId, string controlName, int timeOut)
        {
            ClickMenu menu = new ClickMenu();

            menu.ProcessId   = processId;
            menu.ControlName = controlName;
            menu.TimeOut     = timeOut;
            menu.Execute(menu);
        }
Exemplo n.º 3
0
        public static void ClickButtonById(this UIAutomationFacade facade, int processId, string automationId, int timeOut)
        {
            ClickButton button = new ClickButton();

            button.ProcessId    = processId;
            button.AutomationId = automationId;
            button.TimeOut      = timeOut;
            button.Execute(button);
        }
Exemplo n.º 4
0
        public static void ClickButtonByName(this UIAutomationFacade facade, int processId, string controlName, int timeOut)
        {
            ClickButton button = new ClickButton();

            button.ProcessId   = processId;
            button.ControlName = controlName;
            button.TimeOut     = timeOut;
            button.Execute(button);
        }
Exemplo n.º 5
0
        public static void SendKeys(this UIAutomationFacade facade, string windowName, int timeout, params string[] keys)
        {
            SendKeys action = new SendKeys();

            action.WindowName = windowName;
            action.Keys       = keys;
            action.Timeout    = timeout;
            action.Execute(action);
        }
Exemplo n.º 6
0
        public static void SendKeys(this UIAutomationFacade facade, int processId, int timeout, params string[] keys)
        {
            SendKeys action = new SendKeys();

            action.ProcessId = processId;
            action.Keys      = keys;
            action.Timeout   = timeout;
            action.Execute(action);
        }
Exemplo n.º 7
0
 // Methods
 public static void SendKeys(this UIAutomationFacade facade, int processId, params string[] keys)
 {
     facade.SendKeys(processId, 0xea60, keys);
 }
Exemplo n.º 8
0
 public static void SendKeys(this UIAutomationFacade facade, string windowName, params string[] keys)
 {
     facade.SendKeys(windowName, 0xea60, keys);
 }
Exemplo n.º 9
0
 public static void AppendTextToTextBoxByName(this UIAutomationFacade facade, int processId, string automationId, string appendValue)
 {
 }