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

    r3523 r3543  
    1616        public void testa() throws Exception { 
    1717                super.composeEmail(); 
    18                 selenium.click(Campo.COPIA_1.getValue()); 
    19                 selenium.type(Campo.COPIA_CAMPO_1.getValue(), 
    20                                 Valor.EMAIL_TESTE_1.getValue()); 
    21                 selenium.type(Campo.ASSUNTO_1.getValue(), 
    22                                 Valor.ASSUNTO_SOMENTE_COPIA.getValue()); 
     18                selenium.click(getCampo("email.copia.1")); 
     19                selenium.type(getCampo("email.copia.campo.1"), 
     20                                getValor("email.teste.1")); 
     21                selenium.type(getCampo("email.assunto.1"), 
     22                                getValor("assunto.somente.copia")); 
    2323                super.sendEmail(); 
    24                 super.assertMessage(Campo.MENSAGEM.getValue(), 
    25                                 Mensagem.EMAIL_ENVIADO.getValue()); 
     24                super.assertMessage(getCampo("email.mensagem"), 
     25                                getMensagem("email.enviado")); 
    2626 
    2727                // Remove email da Caixa de Entrada, itens enviados e lixeira. 
    28                 super.removeEmail(Valor.ASSUNTO_SOMENTE_COPIA.getValue()); 
     28                super.removeEmail(getValor("assunto.somente.copia")); 
    2929        } 
    3030 
Note: See TracChangeset for help on using the changeset viewer.