Beispiel #1
0
        public static void CloseSignInAndPrinterSelect(this AutomationRunner testRunner)
        {
            testRunner.WaitForFirstDraw();

            // If there is an auth panel make sure we try and close it
            // Non-MCCentral builds won't have the plugin. Reduce the wait time for these cases
            if (testRunner.WaitForName("Connection Wizard Skip Sign In Button", 1))
            {
                testRunner.ClickByName("Connection Wizard Skip Sign In Button");
            }

            if (testRunner.WaitForName("Cancel Wizard Button", 1))
            {
                testRunner.ClickByName("Cancel Wizard Button");
            }
        }