Пример #1
0
 public void SetupTest()
 {
     driver       = new FirefoxDriver();
     bingMainPage = new BingMainPage(driver);
 }
Пример #2
0
 public void SetupTest()
 {
     driver = new FirefoxDriver();
     bingMainPage = new BingMainPage(driver);
 }
 public static void AssertResultsCountIsAsExpected(this BingMainPage page, int expectedCount)
 {
     Assert.AreEqual(page.ResultsCountDiv.Text, expectedCount, "The results count is not as expected.");
 }