예제 #1
0
        public void CountCheese()
        {
            var googlePage = new GooglePage();

            googlePage.OpenGooglePage();
            googlePage.SearchOnGoogle("cheese");
            var cheeseAmount = googlePage.GetSearchResultNumber();

            Assert.AreEqual(777, cheeseAmount, "There is too much cheese on the internet");
            googlePage.Close();
        }