public void CadastrarProjeto(string nome, string estado, string descricao) { this.AcessarTelaCadastroProjeto(); criarProjetoPage.PreencherNomeProjeto(nome); criarProjetoPage.PreencherEstadoProjeto(estado); criarProjetoPage.PreencherDescricaoProjeto(descricao); criarProjetoPage.ClicarCadastrarProjeto(); }
public void CampoNomeProjetoNaoPreenchidos() { #region Parameters string usuario = "administrator"; string senha = "administrator"; #endregion loginFlows.EfetuarLogin(usuario, senha); projetoFlows.AcessarTelaCadastroProjeto(); criarProjetoPage.ClicarCadastrarProjeto(); CollectionAssert.Contains(new[] { mensagemObrigatoriedadeIE, mensagemObrigatoriedadeChormeFirefoxLocal, mensagemObrigatoriedadeChromeRemota }, criarProjetoPage.RetornaMensagemObrigatoriedade()); }