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

    r3532 r3543  
    1515        @Test 
    1616        public void testa() throws Exception { 
    17                 super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_COPIA.getValue(), 
    19                                 Valor.TEXTO_EMAIL_COPIA.getValue()); 
    20                 selenium.click(Campo.COPIA_1.getValue()); 
    21                 selenium.type(Campo.COPIA_CAMPO_1.getValue(), 
    22                                 Valor.EMAIL_TESTE_2.getValue()); 
     17                super.composeEmail(getValor("email.teste.1"), 
     18                                getValor("assunto.copia"), getValor("texto.email.copia")); 
     19                selenium.click(getCampo("email.copia.1")); 
     20                selenium.type(getCampo("email.copia.campo.1"), 
     21                                getValor("email.teste.2")); 
    2322                super.sendEmail(); 
    24                 super.assertMessage(Campo.MENSAGEM.getValue(), 
    25                                 Mensagem.EMAIL_ENVIADO.getValue()); 
     23                super.assertMessage(getCampo("email.mensagem"), 
     24                                getMensagem("email.enviado")); 
    2625 
    2726                // Remove email da Caixa de Entrada, itens enviados e lixeira. 
    28                 super.removeEmail(Valor.ASSUNTO_COPIA.getValue()); 
     27                super.removeEmail(getValor("assunto.copia")); 
    2928        } 
    3029} 
Note: See TracChangeset for help on using the changeset viewer.