Revision 4606,
1.1 KB
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Metodos @Test tiveram seus nomes mudados para nomes mais significativos
|
Line | |
---|
1 | package org.expressolivre.cte.email.compor; |
---|
2 | |
---|
3 | import org.expressolivre.cte.common.BaseEmailTestCase; |
---|
4 | import org.expressolivre.cte.pages.email.MailPage; |
---|
5 | import org.testng.Assert; |
---|
6 | import org.testng.annotations.Test; |
---|
7 | |
---|
8 | /** |
---|
9 | * Suite:[FUN02.1] Compor Mensagem |
---|
10 | * |
---|
11 | * Caso de Teste: EL-530:Enviar mensagem com multiplos anexos |
---|
12 | * |
---|
13 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
14 | * testcase&id=EL-530 |
---|
15 | * |
---|
16 | * @author L.F.Estivalet (Serpro) |
---|
17 | * |
---|
18 | * Created on Jan 18, 2011 at 9:02:46 AM |
---|
19 | * |
---|
20 | */ |
---|
21 | public class EnviarEmailMultiplosAnexosTestCase extends BaseEmailTestCase { |
---|
22 | |
---|
23 | /** |
---|
24 | * Executa o teste. Envia um email com multiplos anexos. Apos envio, |
---|
25 | * verifica se o email foi movido para a pasta de emails enviados. |
---|
26 | */ |
---|
27 | @Test |
---|
28 | public void enviarEmailComMultiplosAnexos() { |
---|
29 | mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO_MULTIPLOS_ANEXOS, |
---|
30 | EMAIL_TEXTO_MULTIPLOS_ANEXOS); |
---|
31 | mp.addAttachment(ANEXO_1); |
---|
32 | mp.addAttachment2(ANEXO_2); |
---|
33 | mp.sendMail(); |
---|
34 | mp.assertMessage(MSG_EMAIL_ENVIADO); |
---|
35 | Assert.assertNotNull(mp.findEmailIdBySubject(MailPage.SENT_FOLDER, |
---|
36 | EMAIL_ASSUNTO_MULTIPLOS_ANEXOS)); |
---|
37 | } |
---|
38 | |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.