Пример #1
0
        public void MyAccount_InserirProfile_Excluir()
        {
            //OSBUILD VAZIO
            //Insere um profile
            //edita
            //verifica se foi inserido
            HomePageObjects         homePageObjects         = new HomePageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();

            MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects();
            SeleniumMaps         Maps = new SeleniumMaps();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());

            homePageObjects.AcessarAbaMyAccount();
            myAccountPageObjects.AcessarProfiles();
            myAccountPageObjects.VerificaAcessoProfiles();

            string conteudo = myAccountPageObjects.InserirProfile_Validar();

            myAccountPageObjects.BotaoSubmeter();
            conteudo = conteudo + " " + conteudo + " " + conteudo;
            myAccountPageObjects.VerificarInsercao(conteudo);

            myAccountPageObjects.Excluir();
            myAccountPageObjects.VerificarExclusao(conteudo);
            Assert.Pass();
        }
Пример #2
0
        public void Home_VerificaAcessoMyAccount()
        {
            HomePageObjects      homePageObjects      = new HomePageObjects();
            LoginPageObjects     loginPageObjects     = new LoginPageObjects();
            MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects();



            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());

            homePageObjects.AcessarAbaMyAccount();
            myAccountPageObjects.VerificarAcessoAbaMyAccount();
            NUnit.Framework.Assert.Pass();
        }
Пример #3
0
        public void MyAccount_ValidacaoProfiles_ObrigatoriedadeParametros1()
        {
            //PLATFORM VAZIO
            HomePageObjects      homePageObjects      = new HomePageObjects();
            LoginPageObjects     loginPageObjects     = new LoginPageObjects();
            MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects();



            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());

            homePageObjects.AcessarAbaMyAccount();
            myAccountPageObjects.AcessarProfiles();
            myAccountPageObjects.VerificaAcessoProfiles();
            myAccountPageObjects.PreencheParametros1();
            myAccountPageObjects.BotaoSubmeter();
            myAccountPageObjects.VerificaCampoObrigatorioPlatform();
            Assert.Pass();
        }
Пример #4
0
        public void MyAccount_InserirProfile()
        {
            //OSBUILD VAZIO
            HomePageObjects      homePageObjects      = new HomePageObjects();
            LoginPageObjects     loginPageObjects     = new LoginPageObjects();
            MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects();


            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());

            homePageObjects.AcessarAbaMyAccount();
            myAccountPageObjects.AcessarProfiles();
            myAccountPageObjects.VerificaAcessoProfiles();
            string conteudo = myAccountPageObjects.InserirProfile_Validar();

            myAccountPageObjects.BotaoSubmeter();
            conteudo = conteudo + " " + conteudo + " " + conteudo;
            myAccountPageObjects.VerificarInsercao(conteudo);
            Assert.Pass();
        }