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 MyAccount() { Login login = new Login(); login.DoLogin(driver); MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects(driver); myAccountPageObjects.ClickOnMyAccount(); myAccountPageObjects.FillRealnamefField(ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly() .Location).AppSettings.Settings["RealName"].Value); myAccountPageObjects.ClickOnSubmitButton(); Assert.AreEqual("", verificationErrors.ToString()); }
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 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 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 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 ValidLogin() { LoginPageObjects.Login("*****@*****.**", "blessed"); MyAccountPageObjects.VerifyMyAccountTextDisplay(); }
public void InvalidLogin() { LoginPageObjects.Login("*****@*****.**", "tester"); MyAccountPageObjects.VerifyErrorTextDisplay(); }