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(); }
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(); }
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(); }
//[Test] public void Home_TestesHomePage() { HomePageObjects homePageObjects = new HomePageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.VerificaProjeto(); }
public void Home_EscolherProjetoSayoan() { HomePageObjects homePageObjects = new HomePageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString()); homePageObjects.VerificaProjeto(); NUnit.Framework.Assert.Pass(); }
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(); }
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(); }
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(); }
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(); }
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 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(); }
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(); }
//[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 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(); }