Revision 4780,
829 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Refactoring, criadas novas classes para Pasta, Filtro, Pesquisa
|
Line | |
---|
1 | package org.expressolivre.cte.email.listar; |
---|
2 | |
---|
3 | import org.expressolivre.cte.common.BaseEmailTestCase; |
---|
4 | import org.openqa.selenium.Alert; |
---|
5 | import org.testng.annotations.Test; |
---|
6 | |
---|
7 | /** |
---|
8 | * Suite:[FUN02.3] Listar Mensagem |
---|
9 | * |
---|
10 | * Caso de Teste: EL-1154:Importar arquivo - Campo obrigatorio |
---|
11 | * |
---|
12 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
13 | * testcase&id=EL-1154 |
---|
14 | * |
---|
15 | * @author L.F.Estivalet (Serpro) |
---|
16 | * |
---|
17 | * Created on Jul 12, 2011 at 3:42:25 PM |
---|
18 | * |
---|
19 | */ |
---|
20 | public class ImportarArquivoCampoObrigatorioTestCase extends BaseEmailTestCase { |
---|
21 | |
---|
22 | @Test |
---|
23 | public void importarArquivoCampoObrigatorio() { |
---|
24 | mp.importEmail(); |
---|
25 | mp.importSelectFolder(); |
---|
26 | |
---|
27 | Alert alert = driver.switchTo().alert(); |
---|
28 | assert ("Extensão de arquivo proibido ou arquivo inválido." |
---|
29 | .equals(alert.getText())); |
---|
30 | alert.accept(); |
---|
31 | |
---|
32 | } |
---|
33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.