Example #1
0
        public void CriarTarefasComDataDriven(ArrayList testData)
        {
            #region Parameters
            string resumo    = testData[0].ToString();
            string descricao = testData[1].ToString();

            string usuario = Properties.Settings.Default.DEFAULT_USER;
            string senha   = Properties.Settings.Default.DEFAULT_PASSWORD;
            #endregion

            loginFlows.EfetuarLogin(usuario, senha);

            createTaskFlows.CriarTarefa(resumo, descricao);

            Assert.AreEqual(resumo, TaskDBSteps.RetornaResumoCriadoSemParameroDB());
            Assert.That(createTaskPage.ValidarCriarTarefa().Contains("sucesso"));
        }