Ignore:
Timestamp:
11/26/10 16:00:32 (13 years ago)
Author:
luiz-fernando
Message:

Ticket #1402 - Campos, mensagens e valores estao em properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailAnexoTestCase.java

    r3532 r3543  
    3030        @Test 
    3131        public void testa() throws Exception { 
    32                 super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    33                                 Valor.ASSUNTO_ANEXO.getValue(), 
    34                                 Valor.TEXTO_EMAIL_ANEXO.getValue()); 
    35                 selenium.click(Campo.ADICIONAR_ANEXO.getValue()); 
    36                 selenium.type(Campo.ANEXO_1.getValue(), Valor.ANEXO_1.getValue()); 
     32                super.composeEmail(getValor("email.teste.1"), 
     33                                getValor("assunto.anexo"), getValor("texto.email.anexo")); 
     34                selenium.click(getCampo("email.adicionar.anexo")); 
     35                selenium.type(getCampo("email.anexo.1"), getValor("anexo.1")); 
    3736                super.sendEmail(); 
    38                 super.assertMessage(Campo.MENSAGEM.getValue(), 
    39                                 Mensagem.EMAIL_ENVIADO.getValue()); 
     37                super.assertMessage(getCampo("email.mensagem"), 
     38                                getMensagem("email.enviado")); 
    4039 
    4140                if (this.apagarEmail) { 
    4241                        // Remove email da Caixa de Entrada, itens enviados e lixeira. 
    43                         super.removeEmail(Valor.ASSUNTO_ANEXO.getValue()); 
     42                        super.removeEmail(getValor("assunto.anexo")); 
    4443                } 
    4544        } 
Note: See TracChangeset for help on using the changeset viewer.