Exemplo n.º 1
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.º 2
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);
        }