Exemple #1
0
        public void ErrorAssert(string expected, RegistrationPageFull error)
        {
            bool errorExists = error.firstNameErrorMessage.Text.Contains(expected);

            Assert.IsTrue(errorExists, "Not correct error message");
        }
Exemple #2
0
 public void FindRegisterButton(string expected, RegistrationPageFull button)
 {
     Assert.AreEqual(expected, button.registerButton.Text, "Not the registration page");
 }