Exemplo n.º 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");
        }
Exemplo n.º 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");
 }
Exemplo n.º 6
0
        public void SearchTextInBing_Three()
        {
            BingMainPage bingMainPage = new BingMainPage();

            bingMainPage.Navigate();
            bingMainPage.Search("Automate The Planet");
            bingMainPage.Validate().AutomateThePlanetExist();
        }
Exemplo n.º 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);
 }
Exemplo n.º 9
0
 public void WhenEnterTextOnSearchBox()
 {
     bingPage.Search("Automate The Planet");
 }