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

    r3532 r3543  
    1515        @Test 
    1616        public void testa() throws Exception { 
    17                 super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_MULTIPLOS_ANEXOS.getValue(), 
    19                                 Valor.TEXTO_EMAIL_MULTIPLOS_ANEXOS.getValue()); 
    20                 selenium.click(Campo.ADICIONAR_ANEXO.getValue()); 
    21                 selenium.type(Campo.ANEXO_1.getValue(), Valor.ANEXO_1.getValue()); 
    22                 selenium.click(Campo.ADICIONAR_ANEXO.getValue()); 
    23                 selenium.type(Campo.ANEXO_2.getValue(), Valor.ANEXO_2.getValue()); 
     17                super.composeEmail(getValor("email.teste.1"), 
     18                                getValor("assunto.multiplos.anexos"), 
     19                                getValor("texto.email.multiplos.anexos")); 
     20                selenium.click(getCampo("email.adicionar.anexo")); 
     21                selenium.type(getCampo("email.anexo.1"), getValor("anexo.1")); 
     22                selenium.click(getCampo("email.adicionar.anexo")); 
     23                selenium.type(getCampo("email.anexo.2"), getValor("anexo.2")); 
    2424                super.sendEmail(); 
    25                 super.assertMessage(Campo.MENSAGEM.getValue(), 
    26                                 Mensagem.EMAIL_ENVIADO.getValue()); 
     25                super.assertMessage(getCampo("email.mensagem"), 
     26                                getMensagem("email.enviado")); 
    2727 
    2828                // Remove email da Caixa de Entrada, itens enviados e lixeira. 
    29                 super.removeEmail(Valor.ASSUNTO_MULTIPLOS_ANEXOS.getValue()); 
     29                super.removeEmail(getValor("assunto.multiplos.anexos")); 
    3030        } 
    3131 
Note: See TracChangeset for help on using the changeset viewer.