예제 #1
0
        public void AcessarMonitoradosPorMim()
        {
            LoginPageObjects      login   = new LoginPageObjects();
            HomePageObjects       home    = new HomePageObjects();
            VerTarefasPageObjects tarefas = new VerTarefasPageObjects();

            Relatorio.iniciarTeste("Acessar Monitorados por Mim");

            login.acessarLogin();
            login.realizaLogin();

            home.verificaAcessoTelaHome();
            home.acessarMonitoradosPorMim();

            tarefas.verificarAcessoVerTarefas();

            Assert.AreNotEqual(ConfigurationManager.AppSettings["login"].ToString(),
                               tarefas.TextoMonitoradoPor.Text);
        }//fim void