Exemple #1
0
        public void TestClickWaitUntilPostFlase()
        {
            var ajaxPage = new AjaxyControlPage(Driver);

            Driver.Navigate().GoToUrl(AjaxyControlPage.Url);
            Assert.That(ajaxPage.IsPageLoaded());
            Assert.That(!ajaxPage.GreenRadio.ClickWaitUntilPost(Driver));
        }
Exemple #2
0
        public void TestSwitchBrowserWindow()
        {
            Driver.Navigate().GoToUrl(IndexPage.Url);
            var index = new IndexPage(Driver);

            index.AjaxyControlNewWindowLink.Click();
            Driver.SwitchBrowserWindow(ExpectedConditions.TitleIs("AjaxyControl"));

            var ajaxyControl = new AjaxyControlPage(Driver);

            Assert.That(ajaxyControl.IsPageLoaded());
        }
Exemple #3
0
 public void SetupWebDriverExtensionTests()
 {
     Driver.Navigate().GoToUrl(AjaxyControlPage.Url);
     _ajaxyControlPage = new AjaxyControlPage(Driver);
     Assert.AreEqual(true, _ajaxyControlPage.IsPageLoaded());
 }
Exemple #4
0
 public void SetupSearchContextExtentionTests()
 {
     Driver.Navigate().GoToUrl(AjaxyControlPage.Url);
     Page = new AjaxyControlPage(Driver);
     Assert.AreEqual(true, Page.IsPageLoaded());
 }