Exemple #1
0
 public void Login_ForgotPassword_WS_1046()
 {
     if (!DataParser.ReturnExecution("WS_1046"))
     {
         Assert.Ignore();
     }
     else
     {
         ForgotPassword forgotPasswordPage = InitialPage.Go().ClickForgotPassword();
         Assert.AreEqual("Change Your Password", forgotPasswordPage.GetLabelTitle(), "The label is not correct");
         Assert.AreEqual("Find your account", forgotPasswordPage.GetLabelSubTitle(), "The label is not correct");
         Assert.IsTrue(forgotPasswordPage.IsEmailFieldAvailable(), "email field is not available");
         Assert.IsTrue(forgotPasswordPage.IsBtnContinueAvailable(), "continue button is not available");
         Assert.AreEqual("Continue", forgotPasswordPage.GetBtnContinueTxt(), "The label is not correct");
     }
 }