Exemplo n.º 1
0
        public void EmptyFields()
        {
            changePasswordPage.changePassword("", "", "");
            string currentPasswordError = changePasswordPage.getCurrentPasswordValidationMessage();
            string newPasswordError     = changePasswordPage.getNewPasswordValidationMessage();

            Assert.AreEqual("The Current password field is required.", currentPasswordError);
            Assert.AreEqual("The New password field is required.", newPasswordError);
        }