Ejemplo n.º 1
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();
        }
Ejemplo n.º 2
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();
        }
Ejemplo n.º 3
0
        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();
        }