public void Open_WhenCalled_PageIsOpened() { var expectedUrl = "http://thedemosite.co.uk/addauser.php"; _addAUserPage.Open(); Assert.AreEqual(expectedUrl, _addAUserPage.Url); }
public string GetExistingPassword() { var addANewUserPage = new AddAUserPage(GetDriver()); addANewUserPage.Open(); return(addANewUserPage.GetExistingPassword()); }
public string GetExistingLogin() { var addANewUserPage = new AddAUserPage(GetDriver()); addANewUserPage.Open(); return(addANewUserPage.GetExistingUsername()); }