예제 #1
0
        private static void AlertBoxCheckNotExistsCore(this WisejWebDriver driver, MessageBoxIcon icon, string message,
                                                       int timeoutInSeconds)
        {
            AlertBox alertBox = driver.WaitForAlertBox(message, icon: icon, timeoutInSeconds: timeoutInSeconds);

            Assert.IsNull(alertBox, GetMessage("AlertBox with {0} should not exist.", icon, message));
        }
예제 #2
0
        private static void AlertBoxAssertNotExistsCore(this WisejWebDriver driver, bool ignoreIcon,
                                                        MessageBoxIcon icon, string message, long timeoutInSeconds)
        {
            AlertBox alertBox = driver.WaitForAlertBox(ignoreIcon, icon, message, timeoutInSeconds);

            Assert.IsNull(alertBox, GetMessage("AlertBox with {0} should not exist.", ignoreIcon, icon, message));
        }
예제 #3
0
        private static AlertBox AlertBoxGetCore(this WisejWebDriver driver, MessageBoxIcon icon, string message,
                                                int timeoutInSeconds)
        {
            AlertBox alertBox = driver.WaitForAlertBox(message, icon: icon, timeoutInSeconds: timeoutInSeconds);

            Assert.IsNotNull(alertBox, GetMessage("AlertBox with {0} not found.", icon, message));
            return(alertBox);
        }