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

Revision 3543, 787 bytes checked in by luiz-fernando, 13 years ago (diff)

Ticket #1402 - Campos, mensagens e valores estao em properties

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 16, 2010 at 3:36:32 PM
11 *
12 */
13public class EnviarEmailConfirmacaoLeituraTestCase extends ExpressoMailTestCase {
14
15        @Test
16        public void testa() throws Exception {
17                super.composeEmail(getValor("email.teste.1"),
18                                getValor("assunto.confirmacao.leitura"),
19                                getValor("texto.email.confirmacao.leitura"));
20                selenium.click(getCampo("email.confirmacao.leitura"));
21                super.sendEmail();
22                super.assertMessage(getCampo("email.mensagem"),
23                                getMensagem("email.enviado"));
24
25                // Remove email da Caixa de Entrada, itens enviados e lixeira.
26                super.removeEmail(getValor("assunto.confirmacao.leitura"));
27        }
28}
Note: See TracBrowser for help on using the repository browser.