コード例 #1
0
        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());
        }