コード例 #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 MyAccount_VerificaAcessoProfiles()
        {
            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();
            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();
        }