Revision 4527,
1.0 KB
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1402 - Novos casos de teste para pesquisa avançada de email
|
Line | |
---|
1 | package org.expressolivre.cte.email.listar; |
---|
2 | |
---|
3 | import org.expressolivre.cte.common.BaseEmailTestCase; |
---|
4 | import org.testng.annotations.Test; |
---|
5 | |
---|
6 | /** |
---|
7 | * Suite:[FUN02.3] Listar Mensagem |
---|
8 | * |
---|
9 | * Caso de Teste: |
---|
10 | * |
---|
11 | * EL-586:Exportar 1 mensagem |
---|
12 | * |
---|
13 | * EL-1150:Exportar - Sem selecionar |
---|
14 | * |
---|
15 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
16 | * testcase&id=EL-586 |
---|
17 | * |
---|
18 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
19 | * testcase&id=EL-1150 |
---|
20 | * |
---|
21 | * @author L.F.Estivalet (Serpro) |
---|
22 | * |
---|
23 | * Created on Mai 16, 2011 at 10:54:30 AM |
---|
24 | * |
---|
25 | */ |
---|
26 | public class ExportarEmailSelecionadoTestCase extends BaseEmailTestCase { |
---|
27 | |
---|
28 | @Test(enabled = false) |
---|
29 | public void exportEmail() { |
---|
30 | mp.findEmailIdBySuject(EMAIL_ASSUNTO, true); |
---|
31 | mp.exportEmail(); |
---|
32 | mp.assertMessage(MSG_EXPORTAR_EMAIL); |
---|
33 | |
---|
34 | // TODO Verificar por que nao esta pegando o alert. |
---|
35 | driver.switchTo().alert().accept(); |
---|
36 | |
---|
37 | } |
---|
38 | |
---|
39 | @Test |
---|
40 | public void exportEmailNotSelected() { |
---|
41 | mp.exportEmail(); |
---|
42 | mp.assertMessage(MSG_EMAIL_NAO_SELECIONADO); |
---|
43 | } |
---|
44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.