source: devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/compor/EnviarEmailCopiaOcultaTestCase.java @ 3532

Revision 3532, 871 bytes checked in by luiz-fernando, 13 years ago (diff)

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

Line 
1package br.gov.serpro.cte.email.compor;
2
3import org.junit.Test;
4
5import br.gov.serpro.cte.common.ExpressoMailTestCase;
6
7/**
8 * @author L.F.Estivalet (Serpro)
9 *
10 *         Created on Nov 18, 2010 at 4:31:43 PM
11 *
12 */
13public class EnviarEmailCopiaOcultaTestCase extends ExpressoMailTestCase {
14
15        @Test
16        public void testa() throws Exception {
17                super.composeEmail(Valor.EMAIL_TESTE_1.getValue(),
18                                Valor.ASSUNTO_COPIA_OCULTA.getValue(),
19                                Valor.TEXTO_EMAIL_COPIA_OCULTA.getValue());
20                selenium.click(Campo.COPIA_OCULTA_1.getValue());
21                selenium.type(Campo.COPIA_OCULTA_CAMPO_1.getValue(),
22                                Valor.EMAIL_TESTE_3.getValue());
23                super.sendEmail();
24                super.assertMessage(Campo.MENSAGEM.getValue(),
25                                Mensagem.EMAIL_ENVIADO.getValue());
26
27                // Remove email da Caixa de Entrada, itens enviados e lixeira.
28                super.removeEmail(Valor.ASSUNTO_COPIA_OCULTA.getValue());
29        }
30
31}
Note: See TracBrowser for help on using the repository browser.