コード例 #1
0
        public void Login_VerificarPerderSenha()
        {
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            LogoutPageObjects logoutPageObjects = new LogoutPageObjects();

            loginPageObjects.AcessarLostPassword();
            logoutPageObjects.VerificarLostPassword();
            Assert.Pass();
        }
コード例 #2
0
        public void LostPassword_RetornarLogin()
        {
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            LogoutPageObjects logoutPageObjects = new LogoutPageObjects();

            loginPageObjects.AcessarLostPassword();
            logoutPageObjects.VerificarLostPassword();
            logoutPageObjects.VoltarLogin();
            loginPageObjects.VerificaAcessoLogin();
            Assert.Pass();
        }
コード例 #3
0
        public void LostPassword_UserNameValido_EmailValido()
        {
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            LogoutPageObjects logoutPageObjects = new LogoutPageObjects();

            loginPageObjects.AcessarLostPassword();
            logoutPageObjects.VerificarLostPassword();
            logoutPageObjects.InserirUserName_Email(ConfigurationManager.AppSettings["Email"].ToString(), ConfigurationManager.AppSettings["Username"].ToString());
            logoutPageObjects.VerificarEmailEnviado();
            Assert.Pass();
        }
コード例 #4
0
        public void LostPassword_UserNameVazio_EmailVazio()
        {
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            LogoutPageObjects logoutPageObjects = new LogoutPageObjects();

            loginPageObjects.AcessarLostPassword();
            logoutPageObjects.VerificarLostPassword();
            logoutPageObjects.InserirUserName_Email("", "");
            logoutPageObjects.VerificarFeedbackErro1();
            Assert.Pass();
        }
コード例 #5
0
        public void LostPassword_UserNameVazio_EmailPreenchidoValido()
        {
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            LogoutPageObjects logoutPageObjects = new LogoutPageObjects();

            loginPageObjects.AcessarLostPassword();
            logoutPageObjects.VerificarLostPassword();
            logoutPageObjects.InserirUserName_Email(ConfigurationManager.AppSettings["Email"].ToString(), "");
            logoutPageObjects.VerificarFeedbackErro2();
            Assert.Pass();
        }