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

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