Exemplo n.º 1
0
        public void CheckSearchedArticleTitle(string searchedCategoryTitle)
        {
            SearchResultsPage searchResults = new SearchResultsPage(driver);

            Assert.AreEqual(searchedCategoryTitle,
                            searchResults.GetArticleTitle());
        }
Exemplo n.º 2
0
        public void TestMethodFirefoxDriver()
        {
            OzoneHomePage ozoneHomePage = new OzoneHomePage(driver);

            ozoneHomePage.MaximizeWindow();
            ozoneHomePage.GoToHomePage("https://ozone.oakton.com.au/Pages/Home.aspx");
            ozoneHomePage.Search("Benefits");

            SearchResultsPage searchResultsPage = new SearchResultsPage(driver);

            searchResultsPage.HomeLink();
        }