Changeset 3543 for devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailMultiplosAnexosTestCase.java
- Timestamp:
- 11/26/10 16:00:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailMultiplosAnexosTestCase.java
r3532 r3543 15 15 @Test 16 16 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")); 24 24 super.sendEmail(); 25 super.assertMessage( Campo.MENSAGEM.getValue(),26 Mensagem.EMAIL_ENVIADO.getValue());25 super.assertMessage(getCampo("email.mensagem"), 26 getMensagem("email.enviado")); 27 27 28 28 // 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")); 30 30 } 31 31
Note: See TracChangeset
for help on using the changeset viewer.