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

Revision 3523, 862 bytes checked in by luiz-fernando, 13 years ago (diff)

Ticket #1402 - Automacao dos casos de teste do Expresso documentados no Testlink

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:33:41 PM
11 *
12 */
13public class EnviarEmailSomenteCopiaOcultaTestCase extends ExpressoMailTestCase {
14
15        @Test
16        public void testa() throws Exception {
17                super.composeEmail();
18                selenium.click(Campo.COPIA_OCULTA_1.getValue());
19                selenium.type(Campo.COPIA_OCULTA_CAMPO_1.getValue(),
20                                Valor.EMAIL_TESTE_1.getValue());
21                selenium.type(Campo.ASSUNTO_1.getValue(),
22                                Valor.ASSUNTO_SOMENTE_COPIA_OCULTA.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_SOMENTE_COPIA_OCULTA.getValue());
29        }
30
31}
Note: See TracBrowser for help on using the repository browser.