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

            _addAUserPage.Open();

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

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

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