source: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/RemoverAnexoTestCase.java @ 4780

Revision 4780, 970 bytes checked in by luiz-fernando, 13 years ago (diff)

Ticket #1771 - Refactoring, criadas novas classes para Pasta, Filtro, Pesquisa

Line 
1package org.expressolivre.cte.email.ler;
2
3import java.io.IOException;
4
5import org.expressolivre.cte.common.BaseEmailTestCase;
6import org.testng.annotations.Test;
7
8/**
9 * Suite:[FUN02.2] Ler mensagem
10 *
11 * Caso de Teste:
12 *
13 * EL-566:Remover Anexo da Mensagem
14 *
15 * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
16 * testcase&id=EL-566
17 *
18 * @see org.expressolivre.cte.email.compor.EnviarEmailAnexoTestCase
19 *
20 * @author L.F.Estivalet (Serpro)
21 *
22 *         Created on May 12, 2011 at 3:32:38 PM
23 *
24 */
25public class RemoverAnexoTestCase extends BaseEmailTestCase {
26
27        /**
28         * Executa o teste. Apenas procura o email previamente enviado e tenta
29         * abrir.
30         *
31         * @throws IOException
32         */
33        @Test
34        public void removerAnexo() throws IOException {
35                checkPreference("removeAttachmentsFunction");
36                String id = mp.readEmail(EMAIL_ASSUNTO_ANEXO);
37                mp.showDetails(id);
38                mp.removeAllAttachments();
39                mp.assertMessage(MSG_REMOVER_ANEXOS);
40        }
41}
Note: See TracBrowser for help on using the repository browser.