Revision 3521,
634 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1402 - Automacao dos casos de teste do Expresso documentados no Testlink
|
Line | |
---|
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 16, 2010 at 4:33:18 PM |
---|
11 | * |
---|
12 | */ |
---|
13 | public class SalvarEmailTestCase extends ExpressoMailTestCase { |
---|
14 | |
---|
15 | @Test |
---|
16 | public void testaSalvarEmail() throws Exception { |
---|
17 | super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), |
---|
18 | Valor.ASSUNTO_SALVAR.getValue()); |
---|
19 | selenium.click(Campo.SALVAR.getValue()); |
---|
20 | super.waitForElement(Campo.MENSAGEM.getValue()); |
---|
21 | assertEquals(Mensagem.SALVA_RASCUNHO.getValue(), |
---|
22 | selenium.getText(Campo.MENSAGEM.getValue())); |
---|
23 | |
---|
24 | } |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.