Esempio n. 1
0
        public void _002_VerifyLetterOpens()
        {
            var _page = new RecentNewsPage(_driver);

            Assert.IsTrue(_page.IsDisplayed());

            _page.OpenNewsLetter(GetLastMondayNewsLetterTitle());
            SwitchToLastTab();

            var _newsLetterPage = new MondayNewsLetterPage(_driver);

            Assert.IsTrue(_newsLetterPage.IsDisplayed());
        }
Esempio n. 2
0
        public void GetNewsletterPage()
        {
            _driver.Navigate().GoToUrl(MainSiteUrl);
            var _page = new RecentNewsPage(_driver);

            Assert.IsTrue(_page.IsDisplayed());

            _page.OpenNewsLetter(GetLastMondayNewsLetterTitle());
            SwitchToLastTab();

            var _newsLetterPage = new MondayNewsLetterPage(_driver);

            Assert.IsTrue(_newsLetterPage.IsDisplayed());

            NewsLetterPageUrl = _driver.Url;
        }