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(); }
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_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(); }
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(); }
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 Login_VerificarLogin() { LoginPageObjects loginPageObjects = new LoginPageObjects(); HomePageObjects homePageObjects = new HomePageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); Assert.Pass(); }
//[Test] public void Home_TestesHomePage() { HomePageObjects homePageObjects = new HomePageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.VerificaProjeto(); }
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(); }
public void Home_VerificaLogout() { HomePageObjects homePageObjects = new HomePageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.Logout(); loginPageObjects.VerificaAcessoLogin(); NUnit.Framework.Assert.Pass(); }
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(); }
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 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(); }
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 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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
//[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(); }
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(); }