Esempio n. 1
0
        public void PerfilFalhaPlataforma()
        {
            LoginFlows loginFlows = new LoginFlows();
            GerenciarPerfisGlobaisPageObjects gerenciarPerfisGlobaisPageObjects = new GerenciarPerfisGlobaisPageObjects();

            string plataforma = "";
            string so         = "Windows";
            string versao     = "Versao1";

            loginFlows.EfetuarLoginComUsuarioDefault();

            gerenciarPerfisGlobaisPageObjects.ClicarGerenciar();
            gerenciarPerfisGlobaisPageObjects.ClicarGerenciarPerfisGlobais();
            gerenciarPerfisGlobaisPageObjects.PreencherCampoSistemaOperacional(so);
            gerenciarPerfisGlobaisPageObjects.PreencherVersao(versao);
            gerenciarPerfisGlobaisPageObjects.ClicarAdicionarPerfil();

            Assert.IsTrue(gerenciarPerfisGlobaisPageObjects.RetornaTextoPlataforma(plataforma));
        }