Revision 4780,
1.1 KB
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.pesquisar; |
---|
2 | |
---|
3 | import org.expressolivre.cte.common.BaseEmailTestCase; |
---|
4 | import org.expressolivre.cte.common.Config; |
---|
5 | import org.openqa.selenium.By; |
---|
6 | import org.testng.annotations.Test; |
---|
7 | |
---|
8 | /** |
---|
9 | * Suite:[FUN02.8] Pesquisar Mensagens |
---|
10 | * |
---|
11 | * Caso de Teste: EL-617:Pesquisa rapida de mensagens |
---|
12 | * |
---|
13 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
14 | * testcase&id=EL-617 |
---|
15 | * |
---|
16 | * Link: http://trac.expressolivre.org/ticket/2071 |
---|
17 | * |
---|
18 | * @author L.F.Estivalet (Serpro) |
---|
19 | * |
---|
20 | * Created on Jul 08, 2011 at 3:17:10 PM |
---|
21 | * |
---|
22 | */ |
---|
23 | public class PesquisarEmailPalavraChaveEApagarTestCase extends |
---|
24 | BaseEmailTestCase { |
---|
25 | |
---|
26 | @Test |
---|
27 | public void pesquisaEmailPalavraChaveEApagar() { |
---|
28 | mp.setSearchBox(EMAIL_ASSUNTO); |
---|
29 | mp.searchStart(); |
---|
30 | |
---|
31 | // 1 na pasta enviados e 1 na caixa de entrada. |
---|
32 | mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa", |
---|
33 | "2")); |
---|
34 | |
---|
35 | mp.clickElement(By |
---|
36 | .xpath("//div[@id='exmail_main_body']/div[@id='content_id_search_1']/div[@id='divScrollMain_1']/table[1]/tbody[1]/tr[1]/td[6]")); |
---|
37 | mp.waitLoading(); |
---|
38 | mp.deleteEmail(); |
---|
39 | mp.assertMessage(MSG_EMAIL_APAGAR_MENSAGENS); |
---|
40 | } |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.