public void Open_WhenCalled_PageIsOpened()
        {
            var expectedUrl = "http://thedemosite.co.uk/addauser.php";

            _addAUserPage.Open();

            Assert.AreEqual(expectedUrl, _addAUserPage.Url);
        }
Esempio n. 2
0
        public string GetExistingPassword()
        {
            var addANewUserPage = new AddAUserPage(GetDriver());

            addANewUserPage.Open();
            return(addANewUserPage.GetExistingPassword());
        }
Esempio n. 3
0
        public string GetExistingLogin()
        {
            var addANewUserPage = new AddAUserPage(GetDriver());

            addANewUserPage.Open();
            return(addANewUserPage.GetExistingUsername());
        }