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

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