public static void SignOutUser(this AutomationRunner testRunner)
        {
            testRunner.ClickSignOut();

            // Rather than waiting a fixed amount of time, we wait for the ReloadAll to complete before returning
            testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button"));
        }
Example #2
0
        public static void DeleteSelectedPrinter(AutomationRunner testRunner)
        {
            // delete printer
            testRunner.ClickByName("Printer Overflow Menu");
            testRunner.ClickByName("Delete Printer Menu Item");

            testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button"));
        }
        public static void SignOut(AutomationRunner testRunner)
        {
            testRunner.ClickByName("User Options Menu");
            testRunner.ClickByName("Sign Out Menu Item");
            testRunner.Delay(.5);

            // Rather than waiting a fixed amount of time, we wait for the ReloadAll to complete before returning
            testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button"));
        }
        public static void DeleteSelectedPrinter(AutomationRunner testRunner)
        {
            // delete printer
            testRunner.ClickByName("Edit Printer Button", 5);
            testRunner.Delay(.5);

            testRunner.ClickByName("Delete Printer Button", 5);
            testRunner.Delay(.5);

            testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button", 5));
        }