예제 #1
0
 public void SearchTextInBing_First()
 {
     BingMainPage bingMainPage = new BingMainPage(this.Driver);
     bingMainPage.Navigate();
     bingMainPage.Search("Automate The Planet");
     bingMainPage.ValidateResultsCount("264,000 RESULTS");
 }
        public void SearchTextInBing_Advanced_PageObjectPattern()
        {
            var bingMainPage = new BingMainPage();

            bingMainPage.Navigate();
            bingMainPage.Search("Automate The Planet");
            bingMainPage.Validate().ResultsCount(",000 Results");
        }
        public void SearchTextInBing_First_Observer()
        {
            var bingMainPage = new BingMainPage(Driver.Browser);

            bingMainPage.Navigate();
            bingMainPage.Search("Automate The Planet");
            bingMainPage.Validate().ResultsCount("10");
        }
예제 #4
0
        public void SearchTextInBing_First()
        {
            var bingMainPage = new BingMainPage(Driver);

            bingMainPage.Navigate();
            bingMainPage.Search("Automate The Planet");
            bingMainPage.ValidateResultsCount("264,000 RESULTS");
        }
 public void SearchTextInBing_Advanced_PageObjectPattern_NoSingleton()
 {
     // Usage without Singleton
     var bingMainPage = new BingMainPage();
     bingMainPage.Navigate();
     bingMainPage.Search("Automate The Planet");
     bingMainPage.Validate().ResultsCount(",000 RESULTS");
 }
예제 #6
0
        public void SearchTextInBing_Three()
        {
            BingMainPage bingMainPage = new BingMainPage();

            bingMainPage.Navigate();
            bingMainPage.Search("Automate The Planet");
            bingMainPage.Validate().AutomateThePlanetExist();
        }
예제 #7
0
        public void PublicProperties_SearchTextInBing_First()
        {
            var bingMainPage = new BingMainPage(_driver);

            bingMainPage.Navigate();
            bingMainPage.Search("Automate The Planet");

            bingMainPage.AssertResultsCount("236,000 RESULTS");
        }
 public void SearchForAutomateThePlanet()
 {
     _bingMainPage.Navigate();
     _bingMainPage.Search("Automate The Planet");
     _bingMainPage.AssertResultsCountIsAsExpected(264);
 }
예제 #9
0
 public void WhenEnterTextOnSearchBox()
 {
     bingPage.Search("Automate The Planet");
 }