public void AssertPageTitel()
        {
            var titel     = _homePage.GetPageTitel();
            var pageTitel = "Home page - LoginApp";

            Assert.AreEqual(titel, pageTitel);
        }
Example #2
0
        public void AssertUserNavigatesBackToHomePage()
        {
            _homePage = _registerConfirmationPage.ClickOnLoginAppLink <HomePage>();
            var titel     = _homePage.GetPageTitel();
            var pageTitel = "Home pages - LoginApp";

            Assert.AreEqual(titel, pageTitel);
        }
        public void NavigateBackToHomePage()
        {
            _homePage = _logoutPage.ClickOnLoginAppLink <HomePage>();
            var titel     = _homePage.GetPageTitel();
            var pageTitel = "Home pages - LoginApp";

            Assert.AreEqual(titel, pageTitel);
        }
        public void AssertPageTitel()
        {
            _homePage = UnityWrapper.Resolve <IHomePage>();
            var titel     = _homePage.GetPageTitel();
            var pageTitel = "Purplebricks Estate Agents - You'll Be Totally Sold";

            Assert.AreEqual(titel, pageTitel);
            _homePage.EnterSearchString("CV10 8QY");
            _homePage.ClickOnElementSearchButton();
        }