Exemplo n.º 1
0
 public void ForgotPassword_EmailFormat()
 {
     utilities.ConsoleMessageStart();
     utilities.extenttest = utilities.extent.StartTest("ForgotPassword_EmailFormat");
     utilities.extenttest.AssignCategory("AccountTests");
     login.NavigateTo();
     forgotpass.EmailFormat();
     this.ForgotPasswordReferences.EmailTestBox.SendKeys(Keys.Tab);
     Assert.IsTrue(this.ForgotPasswordValidatorsMap.EmailFormatValidator.Text.Contains("Invalid Email Address"));
     utilities.extenttest.Log(LogStatus.Pass, "Assert pass ");
 }