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 Issue_InsertIssuee_AtribuirTarefa()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            UpdateIssuePageObjects  updateIssuePageObjects  = new UpdateIssuePageObjects();


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido

            reportIssuesPageObjects.AcessarEdicaoIssue(summary);

            /*
             * feedback acknowledged confirmed assigned resolved closed
             *
             */
            updateIssuePageObjects.AtribuirTarefa("sayoan.oliveira");
            updateIssuePageObjects.Atualizar();
            updateIssuePageObjects.VerificaAssign("sayoan.oliveira");
            Assert.Pass();
        }
示例#3
0
        public void Issue_InsertIssuee_FecharTarefaSemReproducao()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            UpdateIssuePageObjects  updateIssuePageObjects  = new UpdateIssuePageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido

            reportIssuesPageObjects.AcessarEdicaoIssue(summary);

            updateIssuePageObjects.AlterarReprodutibilidade("unable to reproduce");
            updateIssuePageObjects.AtribuirNota("Impossível de reproduzir.");
            updateIssuePageObjects.AlterarStatus("closed");
            updateIssuePageObjects.Atualizar();

            updateIssuePageObjects.VerificaStatus("closed");
            Assert.Pass();
        }
示例#4
0
        public void Issue_AtribuirSayoan()
        {
            HomePageObjects         homePageObjects         = new HomePageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            ViewIssuesPageObjects   viewIssuesPageObjects   = new ViewIssuesPageObjects();
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            //Obriga inserir uma tarefa
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();

            //Aplicar filtro
            viewIssuesPageObjects.SelecionarTudo();
            viewIssuesPageObjects.AtribuirSayoan();
            viewIssuesPageObjects.VerificaAtribuicaoSayoan();
            Assert.Pass();
        }
示例#5
0
        public void Issue_InsertIssuee_FecharTarefaDuplicada()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            UpdateIssuePageObjects  updateIssuePageObjects  = new UpdateIssuePageObjects();


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido

            reportIssuesPageObjects.AcessarEdicaoIssue(summary);

            updateIssuePageObjects.AlterarResolution("duplicate");
            updateIssuePageObjects.AlterarStatus("closed");
            updateIssuePageObjects.AtribuirNota("Tarefa Duplicada");
            updateIssuePageObjects.Atualizar();

            updateIssuePageObjects.VerificaStatus("closed");
            Assert.Pass();
        }
示例#6
0
        public void Login_VerificarLogin()
        {
            LoginPageObjects loginPageObjects = new LoginPageObjects();
            HomePageObjects  homePageObjects  = new HomePageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            Assert.Pass();
        }
示例#7
0
        //[Test]
        public void Home_TestesHomePage()
        {
            HomePageObjects  homePageObjects  = new HomePageObjects();
            LoginPageObjects loginPageObjects = new LoginPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();
        }
示例#8
0
        public void Home_EscolherProjetoTodos()
        {
            HomePageObjects  homePageObjects  = new HomePageObjects();
            LoginPageObjects loginPageObjects = new LoginPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());
            NUnit.Framework.Assert.Pass();
        }
示例#9
0
        public void Home_VerificaLogout()
        {
            HomePageObjects  homePageObjects  = new HomePageObjects();
            LoginPageObjects loginPageObjects = new LoginPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.Logout();
            loginPageObjects.VerificaAcessoLogin();
            NUnit.Framework.Assert.Pass();
        }
示例#10
0
        public void Issue_FiltrarSemRetorno()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.FiltrarSemRetorno();
            Assert.Pass();
        }
示例#11
0
        public void Issue_BuscarIssueInexistente()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            UpdateIssuePageObjects  updateIssuePageObjects  = new UpdateIssuePageObjects();
            String ID = "9999999";


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();
            homePageObjects.ProcurarIssue(ID);
            homePageObjects.ValidacaoIssueInexiste(ID);
            Assert.Pass();
        }
示例#12
0
        public void Issue_GerarPermalink()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.AcessarPermalink();  //Clicar botão Permalink
            viewIssuesPageObjects.VerificaPermalink(); //Trocar de aba e verificar Tela
            Assert.Pass();
        }
示例#13
0
        public void Issue_VerificarCampoObrigatorio()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            reportIssuesPageObjects.VerificarCampoObrigatorio();
            Assert.Pass();
        }
示例#14
0
        public void Home_VerificaAcessoViewIssues()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();


            loginPageObjects.Login();

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

            homePageObjects.AcessarAbaViewIssue();
            viewIssuesPageObjects.VerificaAcessoViewIssues();
            NUnit.Framework.Assert.Pass();
        }
示例#15
0
        public void Home_Verificar_ID_Vazio()
        {
            HomePageObjects      homePageObjects      = new HomePageObjects();
            LoginPageObjects     loginPageObjects     = new LoginPageObjects();
            MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects();


            loginPageObjects.Login();

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

            homePageObjects.ProcurarIssue_Vazia();
            homePageObjects.Verifica_IssueVazia();
            NUnit.Framework.Assert.Pass();
        }
        public void ViewIssues_FiltrarTarefaPriority()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.FiltrarIssue_Prioridade("urgent");
            viewIssuesPageObjects.ValidacaoFiltroTarefa_Priority("urgent");
            Assert.Pass();
        }
示例#17
0
        public void Manage_CriarCategoriaDuplicada()
        {
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            HomePageObjects   homePageObjects   = new HomePageObjects();
            ManagePageObjects managePageObjects = new ManagePageObjects();
            GerarRandom       gerarRandom       = new GerarRandom();
            String            categoria         = gerarRandom.RandomString();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.AcessarAbaManage();
            managePageObjects.VerificarAccessoAbaManage();
            managePageObjects.AcessarManageProjects();
            managePageObjects.InserirCategoriaDuplicada(categoria);
            Assert.Pass();
        }
示例#18
0
        public void Manage_CriarCategoria_Vazia()
        {
            //falta assert
            LoginPageObjects  loginPageObjects  = new LoginPageObjects();
            HomePageObjects   homePageObjects   = new HomePageObjects();
            ManagePageObjects managePageObjects = new ManagePageObjects();
            GerarRandom       gerarRandom       = new GerarRandom();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.AcessarAbaManage();
            managePageObjects.VerificarAccessoAbaManage();
            managePageObjects.AcessarManageProjects();
            managePageObjects.InserirCategoriaVazia("");
            Assert.Pass();
        }
        public void ViewIssues_FiltrarTarefaSeverity()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.FiltrarIssue_Severity("minor");
            viewIssuesPageObjects.ValidarFiltroSeverity("mior");
            Assert.Pass();
        }
示例#20
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();
        }
示例#21
0
        public void Issue_DD_InsertSimple(string category, string reproducibility, string severity, string priority, string summary, string description)
        {
            //receber 6 parâmetros pelo DD e gerar os CT
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            reportIssuesPageObjects.InserirIssue_Simple(category, reproducibility, severity, priority, summary, description);
            Assert.Pass();
        }
示例#22
0
        public void Issue_InsertIssuee_VerificaID()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary(); //Aqui você o sumário inserido
            //neste momento é inserido uma tarefa com uma summary random e ela é retornada para ser utilizada na busca
            String ID = reportIssuesPageObjects.PegarIssueInserida(summary);         //Aqui consegue o ID com o sumário

            Assert.Pass();
        }
        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();
        }
示例#24
0
        public void Issue_InsertIssuee_AlterarStatus()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            UpdateIssuePageObjects  updateIssuePageObjects  = new UpdateIssuePageObjects();


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido

            reportIssuesPageObjects.AcessarEdicaoIssue(summary);

            updateIssuePageObjects.AlterarStatus("confirmed");
            updateIssuePageObjects.Atualizar();
        }
示例#25
0
        //[Test]
        public void Issue_InsertIssue_VerificarInsert()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            ViewIssuesPageObjects   viewIssuesPageObjects   = new ViewIssuesPageObjects();



            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            reportIssuesPageObjects.InserirTarefa();


            viewIssuesPageObjects.VerificarInsercao_Issue();
            Assert.Pass();
        }
        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();
        }
示例#27
0
        public void Issue_ExclusaoTotal()
        {
            HomePageObjects         homePageObjects         = new HomePageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            ViewIssuesPageObjects   viewIssuesPageObjects   = new ViewIssuesPageObjects();
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.AcessarAbaReportIssue();
            reportIssuesPageObjects.VerificarAcessaReportIssue();
            //Obriga inserir uma tarefa e verifica se foi excluída
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.SelecionarTudo();
            viewIssuesPageObjects.Excluir();

            viewIssuesPageObjects.VerificaZero();
            Assert.Pass();
        }