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/EnviarEmailImportanteTestCase.java

    r3532 r3543  
    3030        @Test 
    3131        public void testa() throws Exception { 
    32                 super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    33                                 Valor.ASSUNTO_IMPORTANTE.getValue(), 
    34                                 Valor.TEXTO_EMAIL_IMPORTANTE.getValue()); 
    35                 selenium.click(Campo.IMPORTANTE_CHECKBOX.getValue()); 
     32                super.composeEmail(getValor("email.teste.1"), 
     33                                getValor("assunto.importante"), 
     34                                getValor("texto.email.importante")); 
     35                selenium.click(getCampo("email.importante.checkbox")); 
    3636                super.sendEmail(); 
    37                 super.assertMessage(Campo.MENSAGEM.getValue(), 
    38                                 Mensagem.EMAIL_ENVIADO.getValue()); 
     37                super.assertMessage(getCampo("email.mensagem"), 
     38                                getMensagem("email.enviado")); 
    3939 
    4040                if (this.apagarEmail) { 
    4141                        // Remove email da Caixa de Entrada, itens enviados e lixeira. 
    42                         super.removeEmail(Valor.ASSUNTO_IMPORTANTE.getValue()); 
     42                        super.removeEmail(getValor("assunto.importante")); 
    4343                } 
    4444 
Note: See TracChangeset for help on using the changeset viewer.