Revision 3543,
866 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1402 - Campos, mensagens e valores estao em properties
|
Rev | Line | |
---|
[3523] | 1 | package br.gov.serpro.cte.email.compor; |
---|
| 2 | |
---|
| 3 | import org.junit.Test; |
---|
| 4 | |
---|
| 5 | import 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 | */ |
---|
| 13 | public class EnviarEmailCopiaOcultaTestCase extends ExpressoMailTestCase { |
---|
| 14 | |
---|
| 15 | @Test |
---|
| 16 | public void testa() throws Exception { |
---|
[3543] | 17 | super.composeEmail(getValor("email.teste.1"), |
---|
| 18 | getValor("assunto.copia.oculta"), |
---|
| 19 | getValor("texto.email.copia.oculta")); |
---|
| 20 | selenium.click(getCampo("email.copia.oculta.1")); |
---|
| 21 | selenium.type(getCampo("email.copia.oculta.campo.1"), |
---|
| 22 | getValor("email.teste.3")); |
---|
[3523] | 23 | super.sendEmail(); |
---|
[3543] | 24 | super.assertMessage(getCampo("email.mensagem"), |
---|
| 25 | getMensagem("email.enviado")); |
---|
[3523] | 26 | |
---|
| 27 | // Remove email da Caixa de Entrada, itens enviados e lixeira. |
---|
[3543] | 28 | |
---|
| 29 | // TODO REVISAR! |
---|
| 30 | // super.removeEmail(getValor("assunto.copia.oculta")); |
---|
[3523] | 31 | } |
---|
| 32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.