Пример #1
0
        public void shouldWaitForPageLoad()
        {
            ISelenium selenium = (ISelenium)mockProcessor.MockInstance;

            FlashSelenium.FlashSelenium flashSelenium = new FlashSelenium.FlashSelenium(selenium, "test");
            mockProcessor.Expect("WaitForPageToLoad", new string[] { "5000" });
            try
            {
                flashSelenium.WaitForPageToLoad("5000");
            }
            catch
            {
                Assert.Fail("Should Not Fail");
            }
        }
 public void shouldWaitForPageLoad()
 {
     ISelenium selenium = (ISelenium) mockProcessor.MockInstance;
     FlashSelenium.FlashSelenium flashSelenium = new FlashSelenium.FlashSelenium(selenium, "test");
     mockProcessor.Expect("WaitForPageToLoad", new string[] { "5000" });
     try
     {
         flashSelenium.WaitForPageToLoad("5000");
     }
     catch
     {
         Assert.Fail("Should Not Fail");
     }
 }