public void ForgotPassword_NoInformation() { utilities.ConsoleMessageStart(); utilities.extenttest = utilities.extent.StartTest("ForgotPassword_NoInformation"); utilities.extenttest.AssignCategory("AccountTests"); login.NavigateTo(); login.ForgotPasswordLink(); forgotpass.ForgotPasswordClick(); Assert.IsTrue(this.ForgotPasswordValidatorsMap.NoEmailValidator.Text.Contains("Please enter corporate email") && this.ForgotPasswordValidatorsMap.NoUserNameValidator.Displayed); utilities.extenttest.Log(LogStatus.Pass, "Assert pass "); }