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 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 Home_VerificaAcessoManage() { HomePageObjects homePageObjects = new HomePageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); ManagePageObjects managePageObjects = new ManagePageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString()); homePageObjects.AcessarAbaManage(); managePageObjects.VerificarAccessoAbaManage(); NUnit.Framework.Assert.Pass(); }