Changeset 3543 for devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailAnexoTestCase.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/EnviarEmailAnexoTestCase.java
r3532 r3543 30 30 @Test 31 31 public void testa() throws Exception { 32 super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), 33 Valor.ASSUNTO_ANEXO.getValue(), 34 Valor.TEXTO_EMAIL_ANEXO.getValue()); 35 selenium.click(Campo.ADICIONAR_ANEXO.getValue()); 36 selenium.type(Campo.ANEXO_1.getValue(), Valor.ANEXO_1.getValue()); 32 super.composeEmail(getValor("email.teste.1"), 33 getValor("assunto.anexo"), getValor("texto.email.anexo")); 34 selenium.click(getCampo("email.adicionar.anexo")); 35 selenium.type(getCampo("email.anexo.1"), getValor("anexo.1")); 37 36 super.sendEmail(); 38 super.assertMessage( Campo.MENSAGEM.getValue(),39 Mensagem.EMAIL_ENVIADO.getValue());37 super.assertMessage(getCampo("email.mensagem"), 38 getMensagem("email.enviado")); 40 39 41 40 if (this.apagarEmail) { 42 41 // Remove email da Caixa de Entrada, itens enviados e lixeira. 43 super.removeEmail( Valor.ASSUNTO_ANEXO.getValue());42 super.removeEmail(getValor("assunto.anexo")); 44 43 } 45 44 }
Note: See TracChangeset
for help on using the changeset viewer.