public void TEST_ManageProjectsDeleteProject()
        {
            objLogin.NavigateToLoginPage().LogIn();
            objHome.ClickMenu(menuManage);
            objProjects.DeleteProject();

            ValidationResult.AssertElementDisplayed(objProjects.linkFirstProjectToListLocator);
        }
        public void TEST_LoginSuccess()
        {
            //DatabaseConnection db = new DatabaseConnection();
            //db.OpenConnection();
            string login = ConfigurationManager.AppSettings["USERNAME"];
            string senha = ConfigurationManager.AppSettings["PASSWORD"];


            objLogin.NavigateToLoginPage().LogIn(login, senha);

            ValidationResult.AssertElementDisplayed(objHome.containerPrincipal);
        }
        public void TEST_LoginSuccessFromDataBase()
        {
            DatabaseInteractions db = new DatabaseInteractions();
            string        query     = @"select nome, descricao from app_development.MASSA_TESTES where Id = 4";
            List <string> data      = db.retornaDadosQuery(query);

            string login = data[0];
            string senha = data[1];


            objLogin.NavigateToLoginPage().LogIn(login, senha);

            ValidationResult.AssertElementDisplayed(objHome.containerPrincipal);
        }
        public void TEST_LoginSuccessDataDriven()
        {
            objLogin.NavigateToLoginPage().LogInDataDriven("LogInTest");

            ValidationResult.AssertElementDisplayed(objHome.containerPrincipal);
        }