Example #1
0
 //Check if button is working
 public static void AssertChangePasswordIsSuccessfull(this ChangePasswordPage page)
 {
     Assert.AreEqual("Your password has been changed.", page.SuccessfullChangedPasswordMessage.Text);
 }
Example #2
0
 //Check if button is working
 public static void AssertButtonIsWorking2(this ChangePasswordPage page)
 {
     Assert.AreEqual("The New password field is required.", page.SecondError.Text);
 }
Example #3
0
 //Check if Confirm password is entered
 public static void AssertEnteredPasswordsAreMissmatching(this ChangePasswordPage page)
 {
     Assert.AreEqual("The new password and confirmation password do not match.", page.IncorrectPasswordMessage.Text);
 }
Example #4
0
 //Check if button is working
 public static void AssertButtonIsWorking1(this ChangePasswordPage page)
 {
     Assert.AreEqual("The Current password field is required.", page.FirstError.Text);
 }
Example #5
0
 //Check if current password is incorrect
 public static void AssertCurrentPasswordIsIncorrect(this ChangePasswordPage page)
 {
     Assert.AreEqual("Incorrect password.", page.IncorrectPasswordMessage.Text);
 }