Ignore:
Timestamp:
11/23/10 15:43:36 (14 years ago)
Author:
luiz-fernando
Message:

Ticket #1402 - Adicionado suporte para entrar com o conteudo do email

Location:
devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor
Files:
10 edited

Legend:

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

    r3523 r3532  
    3131        public void testa() throws Exception { 
    3232                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    33                                 Valor.ASSUNTO_ANEXO.getValue()); 
     33                                Valor.ASSUNTO_ANEXO.getValue(), 
     34                                Valor.TEXTO_EMAIL_ANEXO.getValue()); 
    3435                selenium.click(Campo.ADICIONAR_ANEXO.getValue()); 
    3536                selenium.type(Campo.ANEXO_1.getValue(), Valor.ANEXO_1.getValue()); 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailConfirmacaoLeituraTestCase.java

    r3523 r3532  
    1616        public void testa() throws Exception { 
    1717                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_CONFIRMACAO_LEITURA.getValue()); 
     18                                Valor.ASSUNTO_CONFIRMACAO_LEITURA.getValue(), 
     19                                Valor.TEXTO_EMAIL_CONFIRMACAO_LEITURA.getValue()); 
    1920                selenium.click(Campo.CONFIRMACAO_LEITURA.getValue()); 
    2021                super.sendEmail(); 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailCopiaOcultaTestCase.java

    r3523 r3532  
    1616        public void testa() throws Exception { 
    1717                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_COPIA_OCULTA.getValue()); 
     18                                Valor.ASSUNTO_COPIA_OCULTA.getValue(), 
     19                                Valor.TEXTO_EMAIL_COPIA_OCULTA.getValue()); 
    1920                selenium.click(Campo.COPIA_OCULTA_1.getValue()); 
    2021                selenium.type(Campo.COPIA_OCULTA_CAMPO_1.getValue(), 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailCopiaTestCase.java

    r3523 r3532  
    1616        public void testa() throws Exception { 
    1717                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_COPIA.getValue()); 
     18                                Valor.ASSUNTO_COPIA.getValue(), 
     19                                Valor.TEXTO_EMAIL_COPIA.getValue()); 
    1920                selenium.click(Campo.COPIA_1.getValue()); 
    2021                selenium.type(Campo.COPIA_CAMPO_1.getValue(), 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailImportanteTestCase.java

    r3523 r3532  
    3131        public void testa() throws Exception { 
    3232                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    33                                 Valor.ASSUNTO_IMPORTANTE.getValue()); 
     33                                Valor.ASSUNTO_IMPORTANTE.getValue(), 
     34                                Valor.TEXTO_EMAIL_IMPORTANTE.getValue()); 
    3435                selenium.click(Campo.IMPORTANTE_CHECKBOX.getValue()); 
    3536                super.sendEmail(); 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailMultiplosAnexosTestCase.java

    r3523 r3532  
    1616        public void testa() throws Exception { 
    1717                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_MULTIPLOS_ANEXOS.getValue()); 
     18                                Valor.ASSUNTO_MULTIPLOS_ANEXOS.getValue(), 
     19                                Valor.TEXTO_EMAIL_MULTIPLOS_ANEXOS.getValue()); 
    1920                selenium.click(Campo.ADICIONAR_ANEXO.getValue()); 
    2021                selenium.type(Campo.ANEXO_1.getValue(), Valor.ANEXO_1.getValue()); 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailMultiplosDestinatariosTestCase.java

    r3523 r3532  
    3232        public void testa() throws Exception { 
    3333                super.sendEmail(Valor.EMAIL_TESTE_MULTIPLOS.getValue(), 
    34                                 Valor.ASSUNTO_MULTIPLOS_DESTINATARIOS.getValue(), apagarEmail); 
     34                                Valor.ASSUNTO_MULTIPLOS_DESTINATARIOS.getValue(), 
     35                                Valor.TEXTO_EMAIL_MULTIPLOS_DESTINATARIOS.getValue(), 
     36                                apagarEmail); 
    3537        } 
    3638} 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailSemAssuntoTestCase.java

    r3523 r3532  
    1717        @Test 
    1818        public void testa() throws Exception { 
    19                 super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), ""); 
     19                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), "", 
     20                                Valor.TEXTO_EMAIL_SEM_ASSUNTO.getValue()); 
    2021                super.sendEmail(); 
    2122                assertTrue(selenium.getConfirmation().matches( 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailTestCase.java

    r3523 r3532  
    3535        public void testa() throws Exception { 
    3636                super.sendEmail(Valor.EMAIL_TESTE_1.getValue(), 
    37                                 Valor.ASSUNTO.getValue(), apagarEmail); 
     37                                Valor.ASSUNTO.getValue(), Valor.TEXTO_EMAIL.getValue(), 
     38                                apagarEmail); 
    3839        } 
    3940} 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/SalvarEmailTestCase.java

    r3523 r3532  
    1616        public void testaSalvarEmail() throws Exception { 
    1717                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 
    18                                 Valor.ASSUNTO_SALVAR.getValue()); 
     18                                Valor.ASSUNTO_SALVAR.getValue(), 
     19                                Valor.TEXTO_EMAIL_SALVO.getValue()); 
    1920                selenium.click(Campo.SALVAR.getValue()); 
    2021                super.waitForElement(Campo.MENSAGEM.getValue()); 
Note: See TracChangeset for help on using the changeset viewer.