コード例 #1
0
        public void invalidFormatOnlyLowerCase()
        {
            changePasswordPage.changePassword("Admin1*", "newuser", "newuser");
            string passwordError   = changePasswordPage.getPasswordValidationMessage();
            string expectedMessage = "Passwords must have at least one non letter or digit character." +
                                     " Passwords must have at least one digit ('0'-'9'). Passwords must have at least" +
                                     " one uppercase ('A'-'Z').";

            Assert.AreEqual(expectedMessage, passwordError);
        }