Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailAcentoAssuntoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailAcentoAssuntoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailAcentoAssuntoTestCase.java	(revision 4675)
@@ -0,0 +1,31 @@
+package org.expressolivre.cte.email.compor;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailPage;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.1] Compor Mensagem
+ * 
+ * Caso de Teste: EL-1259:Enviar mensagem com acento no assunto
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1259
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:04 PM
+ * 
+ */
+public class EnviarEmailAcentoAssuntoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void enviarEmailComAcentoNoAssunto() {
+		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO_ACENTO, EMAIL_TEXTO);
+		mp.sendMail();
+		mp.assertMessage(MSG_EMAIL_ENVIADO);
+		Assert.assertNotNull(mp.findEmailIdBySubject(MailPage.SENT_FOLDER,
+				EMAIL_ASSUNTO_ACENTO));
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailSemAssuntoRejeitarTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailSemAssuntoRejeitarTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailSemAssuntoRejeitarTestCase.java	(revision 4675)
@@ -0,0 +1,39 @@
+package org.expressolivre.cte.email.compor;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.1] Compor Mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * EL-1091:Enviar mensagem sem assunto - Cancelar
+ * 
+ * http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1091
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:07 PM
+ * 
+ */
+public class EnviarEmailSemAssuntoRejeitarTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void enviarEmailSemAssuntoRejeitar() {
+		mp.composeEmail(EMAIL_TESTE_1, "", EMAIL_TEXTO_SEM_ASSUNTO);
+		mp.sendMail();
+		// Sistema exibe um alerta para confirmacao do envio do email sem
+		// assunto.
+
+		Alert noSubject = driver.switchTo().alert();
+		assert MSG_ENVIAR_SEM_ASSUNTO.equals(noSubject.getText());
+		noSubject.dismiss();
+
+		mp.closeMail(false);
+		mp.discardNewEmail();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailCancelarTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailCancelarTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailCancelarTestCase.java	(revision 4675)
@@ -0,0 +1,33 @@
+package org.expressolivre.cte.email.compor;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.1] Compor Mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * EL-1092:Descartar nova mensagem nao salva - Cancelar
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1092
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Feb 23, 2011 at 3:10:58 PM
+ */
+public class DescartarEmailCancelarTestCase extends BaseEmailTestCase {
+
+	/**
+	 * Executa o teste. Testa os botoes Cancelar e Descartar nova mensagem.
+	 */
+	@Test
+	public void botaoCancelarNovoEmail() {
+		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO, EMAIL_TEXTO);
+		mp.closeMail(false);
+		mp.cancelNewEmail();
+		mp.closeMail(true);
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailDescartarTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailDescartarTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailDescartarTestCase.java	(revision 4675)
@@ -0,0 +1,32 @@
+package org.expressolivre.cte.email.compor;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.1] Compor Mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * EL-1239:Descartar nova mensagem nao salva - Descartar
+ * 
+ * http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1239
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Feb 23, 2011 at 3:10:58 PM
+ */
+public class DescartarEmailDescartarTestCase extends BaseEmailTestCase {
+
+	/**
+	 * Executa o teste. Testa os botoes Cancelar e Descartar nova mensagem.
+	 */
+	@Test
+	public void botaoDescartarNovoEmail() {
+		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO, EMAIL_TEXTO);
+		mp.closeMail(false);
+		mp.discardNewEmail();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailSemAssuntoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailSemAssuntoTestCase.java	(revision 4606)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailSemAssuntoTestCase.java	(revision 4675)
@@ -12,11 +12,6 @@
  * EL-533:Enviar mensagem sem assunto
  * 
- * EL-1091:Enviar mensagem sem assunto - Cancelar
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-533
- * 
- * http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1091
  * 
  * @author L.F.Estivalet (Serpro)
@@ -42,18 +37,3 @@
 	}
 
-	@Test
-	public void enviarEmailSemAssuntoRejeitar() {
-		mp.composeEmail(EMAIL_TESTE_1, "", EMAIL_TEXTO_SEM_ASSUNTO);
-		mp.sendMail();
-		// Sistema exibe um alerta para confirmacao do envio do email sem
-		// assunto.
-
-		Alert noSubject = driver.switchTo().alert();
-		assert MSG_ENVIAR_SEM_ASSUNTO.equals(noSubject.getText());
-		noSubject.dismiss();
-
-		mp.closeMail(false);
-		mp.discardNewEmail();
-	}
-
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailSalvarTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailSalvarTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailSalvarTestCase.java	(revision 4675)
@@ -0,0 +1,41 @@
+package org.expressolivre.cte.email.compor;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.openqa.selenium.By;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.1] Compor Mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * EL-1240:Descartar nova mensagem nao salva - Salvar
+ * 
+ * http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1240
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Feb 23, 2011 at 3:10:58 PM
+ */
+public class DescartarEmailSalvarTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void botaoSalvarEmail() {
+		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO_SALVAR, EMAIL_TEXTO_SALVAR);
+		mp.closeMail(false);
+		mp.saveNewEmail();
+		mp.assertMessage(MSG_EMAIL_RASCUNHO);
+
+		// Espera pelo "Carregando..." aparecer.
+		mp.waitForElement(By.id("divProgressBar"));
+		mp.waitForElement(By.id("divScrollMain_0"));
+		// Espera pelo "Carregando..." desaparecer.
+		mp.isNotDisplayed(mp.waitFindElement(By.id("divProgressBar"), 5000,
+				1000));
+
+		// Ir na pasta Rascunhos para assegurar que o email foi salvo.
+		mp.openFolder("lINBOX/Draftstree_folders");
+		mp.readEmail(EMAIL_ASSUNTO_SALVAR);
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailTestCase.java	(revision 4527)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/EnviarEmailTestCase.java	(revision 4675)
@@ -35,11 +35,3 @@
 	}
 
-	@Test
-	public void enviarEmailComAcentoNoAssunto() {
-		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO_ACENTO, EMAIL_TEXTO);
-		mp.sendMail();
-		mp.assertMessage(MSG_EMAIL_ENVIADO);
-		Assert.assertNotNull(mp.findEmailIdBySubject(MailPage.SENT_FOLDER,
-				EMAIL_ASSUNTO_ACENTO));
-	}
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/compor/DescartarEmailTestCase.java	(revision 4606)
+++ 	(revision )
@@ -1,63 +1,0 @@
-package org.expressolivre.cte.email.compor;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.openqa.selenium.By;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.1] Compor Mensagem
- * 
- * Caso de Teste:
- * 
- * EL-1092:Descartar nova mensagem nao salva - Cancelar
- * 
- * EL-1239:Descartar nova mensagem nao salva - Descartar
- * 
- * EL-1240:Descartar nova mensagem nao salva - Salvar
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1092
- * 
- * http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1239
- * 
- * http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1240
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on Feb 23, 2011 at 3:10:58 PM
- */
-public class DescartarEmailTestCase extends BaseEmailTestCase {
-
-	/**
-	 * Executa o teste. Testa os botoes Cancelar e Descartar nova mensagem.
-	 */
-	@Test
-	public void botoesCancelarDescartarNovoEmail() {
-		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO, EMAIL_TEXTO);
-		mp.closeMail(false);
-		mp.cancelNewEmail();
-		mp.closeMail(false);
-		mp.discardNewEmail();
-	}
-
-	@Test
-	public void botaoSalvarEmail() {
-		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO_SALVAR, EMAIL_TEXTO_SALVAR);
-		mp.closeMail(false);
-		mp.saveNewEmail();
-		mp.assertMessage(MSG_EMAIL_RASCUNHO);
-
-		// Espera pelo "Carregando..." aparecer.
-		mp.waitForElement(By.id("divProgressBar"));
-		mp.waitForElement(By.id("divScrollMain_0"));
-		// Espera pelo "Carregando..." desaparecer.
-		mp.isNotDisplayed(mp.waitFindElement(By.id("divProgressBar"), 5000,
-				1000));
-
-		// Ir na pasta Rascunhos para assegurar que o email foi salvo.
-		mp.openFolder("lINBOX/Draftstree_folders");
-		mp.readEmail(EMAIL_ASSUNTO_SALVAR);
-	}
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/ExcluirMultiplosFiltrosTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/ExcluirMultiplosFiltrosTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/ExcluirMultiplosFiltrosTestCase.java	(revision 4675)
@@ -0,0 +1,32 @@
+package org.expressolivre.cte.email.filtro;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFilterPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.7] Gerenciar Filtros
+ * 
+ * Caso de Teste: EL-1103:Excluir mais de 1 filtro
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1103
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jun 15, 2011 at 10:29:34 AM
+ * 
+ */
+public class ExcluirMultiplosFiltrosTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void excluirMultiplosFiltros() {
+		MailFilterPage mfp = mp.editFilter();
+		for (int i = 0; i < 3; i++) {
+			mfp.selectFilterRule(i);
+		}
+
+		mfp.deleteFilters();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/ExcluirFiltroTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/ExcluirFiltroTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/ExcluirFiltroTestCase.java	(revision 4675)
@@ -11,11 +11,6 @@
  * Caso de Teste: EL-630:Excluir filtro
  * 
- * Caso de Teste: EL-1103:Excluir mais de 1 filtro
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-630
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1103
  * 
  * @author L.F.Estivalet (Serpro)
@@ -32,14 +27,3 @@
 		mfp.deleteFilterRule(ruleId);
 	}
-
-	@Test
-	public void excluirMultiplosFiltros() {
-		MailFilterPage mfp = mp.editFilter();
-		for (int i = 0; i < 3; i++) {
-			mfp.selectFilterRule(i);
-		}
-
-		mfp.deleteFilters();
-	}
-
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/CriarFiltroPorAssuntoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/CriarFiltroPorAssuntoTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/CriarFiltroPorAssuntoTestCase.java	(revision 4675)
@@ -48,23 +48,3 @@
 	}
 
-	@Test
-	public void criarFiltroPorAssuntoComMensagemRejeicao() {
-		MailFilterPage mfp = mp.editFilter();
-		mfp.newFilterRule();
-		mfp.setFilterSubject(EMAIL_ASSUNTO);
-		mfp.setFilterRejectMessage();
-		mfp.saveFilterRules();
-
-		Alert error = driver.switchTo().alert();
-		assert "Informe um texto para rejeiÃ§Ã£o!".equals(error.getText());
-		error.dismiss();
-
-		mfp.setFilterRejectMessageText("NÃ£o enviar email para esta conta!!!");
-		mfp.saveFilterRules();
-
-		assert mfp.getFilterRuleText("2").equals(
-				"Status : Habilitada - Se o email tem assunto:" + EMAIL_ASSUNTO
-						+ " - AÃ§Ã£o: Rejeitar");
-
-	}
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/CriarFiltroPorAssuntoComRejeicaoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/CriarFiltroPorAssuntoComRejeicaoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/filtro/CriarFiltroPorAssuntoComRejeicaoTestCase.java	(revision 4675)
@@ -0,0 +1,43 @@
+package org.expressolivre.cte.email.filtro;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFilterPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.7] Gerenciar Filtros
+ * 
+ * Caso de Teste: EL-1263:Criar Filtro por assunto com rejeicao
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1263
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jun 15, 2011 at 10:22:53 AM
+ * 
+ */
+public class CriarFiltroPorAssuntoComRejeicaoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void criarFiltroPorAssuntoComMensagemRejeicao() {
+		MailFilterPage mfp = mp.editFilter();
+		mfp.newFilterRule();
+		mfp.setFilterSubject(EMAIL_ASSUNTO);
+		mfp.setFilterRejectMessage();
+		mfp.saveFilterRules();
+
+		Alert error = driver.switchTo().alert();
+		assert "Informe um texto para rejeiÃ§Ã£o!".equals(error.getText());
+		error.dismiss();
+
+		mfp.setFilterRejectMessageText("NÃ£o enviar email para esta conta!!!");
+		mfp.saveFilterRules();
+
+		assert mfp.getFilterRuleText("2").equals(
+				"Status : Habilitada - Se o email tem assunto:" + EMAIL_ASSUNTO
+						+ " - AÃ§Ã£o: Rejeitar");
+
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/MailPreferencesTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/MailPreferencesTestCase.java	(revision 4627)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/MailPreferencesTestCase.java	(revision 4675)
@@ -8,4 +8,5 @@
 import org.expressolivre.cte.common.Config;
 import org.expressolivre.cte.pages.email.MailPreferencesPage;
+import org.testng.annotations.Parameters;
 import org.testng.annotations.Test;
 
@@ -18,7 +19,15 @@
 public class MailPreferencesTestCase extends BaseTestCase {
 
+	/**
+	 * Seta todas as preferencias de acordo com o arquivo configurado em
+	 * config.properties (propriedade "config.email").
+	 * 
+	 * @throws IllegalArgumentException
+	 * @throws IllegalAccessException
+	 * @throws InvocationTargetException
+	 */
 	@Test
-	public void test() throws IllegalArgumentException, IllegalAccessException,
-			InvocationTargetException {
+	public void setAllPreferences() throws IllegalArgumentException,
+			IllegalAccessException, InvocationTargetException {
 		openPreferencesPage();
 		MailPreferencesPage prefs = openEmailPreferencesPage();
@@ -48,5 +57,22 @@
 		}
 		prefs.savePreferences();
+	}
 
+	@Test
+	@Parameters({ "useImportantFlag" })
+	public void setImportantFlag(String useImportantFlag) {
+		openPreferencesPage();
+		MailPreferencesPage prefs = openEmailPreferencesPage();
+		prefs.setUseImportantFlag(useImportantFlag);
+		prefs.savePreferences();
+	}
+
+	@Test
+	@Parameters({ "removeAttachment" })
+	public void setRemoveAttachment(String removeAttachment) {
+		openPreferencesPage();
+		MailPreferencesPage prefs = openEmailPreferencesPage();
+		prefs.setRemoveAttachmentsFunction(removeAttachment);
+		prefs.savePreferences();
 	}
 
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/DesbloquearUsuarioTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/DesbloquearUsuarioTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/DesbloquearUsuarioTestCase.java	(revision 4675)
@@ -0,0 +1,27 @@
+package org.expressolivre.cte.email.ler;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFilterPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.2] Ler mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 12, 2011 at 2:22:00 PM
+ * 
+ */
+public class DesbloquearUsuarioTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void desbloquearRemetente() {
+		MailFilterPage mfp = mp.editFilter();
+		mfp.deleteFilterRule(0);
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/BloquearUsuarioNovamenteTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/BloquearUsuarioNovamenteTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/BloquearUsuarioNovamenteTestCase.java	(revision 4675)
@@ -0,0 +1,31 @@
+package org.expressolivre.cte.email.ler;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.2] Ler mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * EL-1148:Bloquear usuario - duplicidade
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1148
+ * 
+ * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 12, 2011 at 2:22:00 PM
+ * 
+ */
+public class BloquearUsuarioNovamenteTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void bloquearRemetenteNovamente() {
+		String id = mp.readEmail(EMAIL_ASSUNTO);
+		mp.showDetails(id);
+		mp.blockRecipient(MSG_REMETENTE_JA_BLOQUEADO);
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/BloquearUsuarioTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/BloquearUsuarioTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/ler/BloquearUsuarioTestCase.java	(revision 4675)
@@ -2,5 +2,4 @@
 
 import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.pages.email.MailFilterPage;
 import org.testng.annotations.Test;
 
@@ -10,13 +9,8 @@
  * Caso de Teste:
  * 
- * EL-1145:Bloquear usuario - excluir
- * 
- * EL-1148:Bloquear usuario - duplicidade
+ * EL-1145:Bloquear usuario
  * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-1145
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1148
  * 
  * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
@@ -41,16 +35,3 @@
 	}
 
-	@Test
-	public void bloquearRemetenteNovamente() {
-		String id = mp.readEmail(EMAIL_ASSUNTO);
-		mp.showDetails(id);
-		mp.blockRecipient(MSG_REMETENTE_JA_BLOQUEADO);
-	}
-
-	@Test
-	public void desbloquearRemetente() {
-		MailFilterPage mfp = mp.editFilter();
-		mfp.deleteFilterRule(0);
-	}
-
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarPastaComCaracterEspecialTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarPastaComCaracterEspecialTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarPastaComCaracterEspecialTestCase.java	(revision 4675)
@@ -0,0 +1,36 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-612:Criar pasta com caracter especial no nome
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-612
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 19, 2011 at 11:10:33 AM
+ * 
+ */
+public class CriarPastaComCaracterEspecialTestCase extends BaseEmailTestCase {
+
+	/**
+	 * TODO Criar array com nomes invalidos e repetir o teste n vezes.
+	 */
+	@Test
+	public void criarPastaComCaracterEspecial() {
+		MailFolderPage mfp = mp.editFolder();
+		mfp.createNewFolder("pasta1/pasta2");
+		Alert newFolder = driver.switchTo().alert();
+		assert "Erro ao criar a pasta. Certifique-se de que nÃ£o tentou criÃ¡-la com um nome que contÃ©m a palavra \"local_\" ou que possui algum caractere especial."
+				.equals(newFolder.getText());
+		newFolder.accept();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarSubPastaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarSubPastaTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarSubPastaTestCase.java	(revision 4675)
@@ -0,0 +1,27 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-613:Criar sub pasta
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-613
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 19, 2011 at 11:10:33 AM
+ * 
+ */
+public class CriarSubPastaTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void criarSubPasta() {
+		MailFolderPage mfp = mp.editFolder();
+		mfp.createSubFolder(EMAIL_PASTA_TESTE, "subfolder");
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaTestCase.java	(revision 4675)
@@ -3,5 +3,4 @@
 import org.expressolivre.cte.common.BaseEmailTestCase;
 import org.expressolivre.cte.pages.email.MailFolderPage;
-import org.openqa.selenium.Alert;
 import org.testng.annotations.Test;
 
@@ -11,16 +10,6 @@
  * Caso de Teste: EL-614:Excluir pasta
  * 
- * Caso de Teste: EL-616:Excluir pasta com subpastas
- * 
- * Caso de Teste: EL-1166:Excluir pasta em uso
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-614
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-616
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1166
  * 
  * @see org.expressolivre.cte.email.pastas.CriarPastaTestCase
@@ -33,32 +22,8 @@
 
 public class ApagarPastaTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void deleteFolderWithSubFolder() {
-		MailFolderPage mfp = mp.editFolder();
-		mfp.deleteFolder(EMAIL_PASTA_TESTE);
-		Alert confirm = driver.switchTo().alert();
-		assert ("Remova suas sub-pastas primeiro.").equals(confirm.getText());
-		confirm.accept();
-	}
-
-	@Test(dependsOnMethods = { "deleteFolderWithSubFolder" })
-	public void deleteSubFolder() {
-		MailFolderPage mfp = mp.editFolder();
-		mfp.deleteSubFolder(EMAIL_PASTA_TESTE, "subfolder");
-	}
-
-	@Test
-	public void deleteFolderInUse() {
-		mp.openFolder("lINBOX/Seleniumtree_folders", false);
-		MailFolderPage mfp = mp.editFolder();
-		mfp.deleteFolder(EMAIL_PASTA_TESTE, true);
-	}
-
 	/**
 	 * Exclui pasta padrao utilizada nos testes.
 	 */
-	@Test(dependsOnMethods = { "deleteFolderWithSubFolder", "deleteSubFolder",
-			"deleteFolderInUse" })
+	@Test
 	public void deleteFolder() {
 		MailFolderPage mfp = mp.editFolder();
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaComSubPastaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaComSubPastaTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaComSubPastaTestCase.java	(revision 4675)
@@ -0,0 +1,35 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-616:Excluir pasta com subpastas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-616
+ * 
+ * @see org.expressolivre.cte.email.pastas.CriarPastaTestCase
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 19, 2011 at 2:40:25 PM
+ * 
+ */
+
+public class ApagarPastaComSubPastaTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void deleteFolderWithSubFolder() {
+		MailFolderPage mfp = mp.editFolder();
+		mfp.deleteFolder(EMAIL_PASTA_TESTE);
+		Alert confirm = driver.switchTo().alert();
+		assert ("Remova suas sub-pastas primeiro.").equals(confirm.getText());
+		confirm.accept();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarPastaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarPastaTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/CriarPastaTestCase.java	(revision 4675)
@@ -3,5 +3,4 @@
 import org.expressolivre.cte.common.BaseEmailTestCase;
 import org.expressolivre.cte.pages.email.MailFolderPage;
-import org.openqa.selenium.Alert;
 import org.testng.annotations.Test;
 
@@ -11,16 +10,6 @@
  * Caso de Teste: EL-611:Criar pasta
  * 
- * Caso de Teste: EL-612:Criar pasta com caracter especial no nome
- * 
- * Caso de Teste: EL-613:Criar sub pasta
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-611
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-612
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-613
  * 
  * @author L.F.Estivalet (Serpro)
@@ -41,22 +30,3 @@
 	}
 
-	@Test
-	public void criarSubPasta() {
-		MailFolderPage mfp = mp.editFolder();
-		mfp.createSubFolder(EMAIL_PASTA_TESTE, "subfolder");
-	}
-
-	/**
-	 * TODO Criar array com nomes invalidos e repetir o teste n vezes.
-	 */
-	@Test
-	public void criarPastaComCaracterEspecial() {
-		MailFolderPage mfp = mp.editFolder();
-		mfp.createNewFolder("pasta1/pasta2");
-		Alert newFolder = driver.switchTo().alert();
-		assert "Erro ao criar a pasta. Certifique-se de que nÃ£o tentou criÃ¡-la com um nome que contÃ©m a palavra \"local_\" ou que possui algum caractere especial."
-				.equals(newFolder.getText());
-		newFolder.accept();
-	}
-
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaEmUsoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaEmUsoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaEmUsoTestCase.java	(revision 4675)
@@ -0,0 +1,29 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-1167:Renomear pasta em uso
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1167
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 16, 2011 at 2:48:53 PM
+ * 
+ */
+public class RenomearPastaEmUsoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void renomearPastaEmUso() throws Exception {
+		mp.openFolder("lINBOX/Seleniumtree_folders", false);
+		MailFolderPage mfp = mp.editFolder();
+		mfp.renameFolderInUse(EMAIL_PASTA_TESTE);
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaComCaracterEspecialTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaComCaracterEspecialTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaComCaracterEspecialTestCase.java	(revision 4675)
@@ -0,0 +1,36 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-1260:Renomear pasta com caracter especial
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1260
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 16, 2011 at 2:48:53 PM
+ * 
+ */
+public class RenomearPastaComCaracterEspecialTestCase extends BaseEmailTestCase {
+
+	/**
+	 * TODO Criar array com nomes invalidos e repetir o teste n vezes.
+	 */
+	@Test
+	public void renomearPastaComCaracterEspecial() {
+		MailFolderPage mfp = mp.editFolder();
+		mfp.createNewFolder("pasta1/pasta2");
+		Alert newFolder = driver.switchTo().alert();
+		assert "Erro ao criar a pasta. Certifique-se de que nÃ£o tentou criÃ¡-la com um nome que contÃ©m a palavra \"local_\" ou que possui algum caractere especial."
+				.equals(newFolder.getText());
+		newFolder.accept();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaEmUsoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaEmUsoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarPastaEmUsoTestCase.java	(revision 4675)
@@ -0,0 +1,31 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-1166:Excluir pasta em uso
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1166
+ * 
+ * @see org.expressolivre.cte.email.pastas.CriarPastaTestCase
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 19, 2011 at 2:40:25 PM
+ * 
+ */
+
+public class ApagarPastaEmUsoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void deleteFolderInUse() {
+		mp.openFolder("lINBOX/Seleniumtree_folders", false);
+		MailFolderPage mfp = mp.editFolder();
+		mfp.deleteFolder(EMAIL_PASTA_TESTE, true);
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarSubPastaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarSubPastaTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/ApagarSubPastaTestCase.java	(revision 4675)
@@ -0,0 +1,32 @@
+package org.expressolivre.cte.email.pastas;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailFolderPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.6] Gerenciar Pastas
+ * 
+ * Caso de Teste: EL-1262:Excluir subpasta 
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1262
+ * 
+ * @see org.expressolivre.cte.email.pastas.CriarPastaTestCase
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 19, 2011 at 2:40:25 PM
+ * 
+ */
+
+public class ApagarSubPastaTestCase extends BaseEmailTestCase {
+
+
+	@Test
+	public void deleteSubFolder() {
+		MailFolderPage mfp = mp.editFolder();
+		mfp.deleteSubFolder(EMAIL_PASTA_TESTE, "subfolder");
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pastas/RenomearPastaTestCase.java	(revision 4675)
@@ -3,5 +3,4 @@
 import org.expressolivre.cte.common.BaseEmailTestCase;
 import org.expressolivre.cte.pages.email.MailFolderPage;
-import org.openqa.selenium.Alert;
 import org.testng.annotations.Test;
 
@@ -11,16 +10,6 @@
  * Caso de Teste: EL-615:Renomear pasta
  * 
- * Caso de Teste: EL-610:Visualizar pastas
- * 
- * Caso de Teste: EL-1167:Renomear pasta em uso
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-615
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-610
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1167
  * 
  * @author L.F.Estivalet (Serpro)
@@ -38,23 +27,3 @@
 	}
 
-	@Test
-	public void renomearPastaEmUso() throws Exception {
-		mp.openFolder("lINBOX/Seleniumtree_folders", false);
-		MailFolderPage mfp = mp.editFolder();
-		mfp.renameFolderInUse(EMAIL_PASTA_TESTE);
-	}
-
-	/**
-	 * TODO Criar array com nomes invalidos e repetir o teste n vezes.
-	 */
-	@Test
-	public void renomearPastaComCaracterEspecial() {
-		MailFolderPage mfp = mp.editFolder();
-		mfp.createNewFolder("pasta1/pasta2");
-		Alert newFolder = driver.switchTo().alert();
-		assert "Erro ao criar a pasta. Certifique-se de que nÃ£o tentou criÃ¡-la com um nome que contÃ©m a palavra \"local_\" ou que possui algum caractere especial."
-				.equals(newFolder.getText());
-		newFolder.accept();
-	}
-
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoLidaSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoLidaSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoLidaSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,49 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-620:Pesquisar apenas mensagens nao lidas
+ * 
+ * Caso de Teste: EL-621:Pesquisar apenas mensagens lidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-620
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-621
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 4:13:45 PM
+ * 
+ */
+public class PesquisarEmailNaoLidaSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaMensagemNaoLidaSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchSeenMessage("NÃ£o lida");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,47 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-1202:Pesquisar mensagens por assunto com acento
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1202
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 11:04:23 AM
+ * 
+ */
+public class PesquisarEmailPorAssuntoComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	/**
+	 * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
+	 */
+	@Test
+	public void pesquisaEmailPorAssuntoComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchSubject(EMAIL_ASSUNTO);
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,54 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-626:Pesquisar por intervalos de data
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-626
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 10:06:57 AM
+ * 
+ */
+public class PesquisarEmailPorIntervaloDataComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorIntervaloDataComResultado() {
+		Calendar cal = Calendar.getInstance();
+		SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy");
+		String today = sdf.format(cal.getTime());
+		cal.add(Calendar.DATE, -7);
+		String lastWeek = sdf.format(cal.getTime());
+
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchSinceDate(lastWeek);
+		msp.setSearchBeforeDate(today);
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-624:Pesquisar por remetente
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-624
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 9:23:35 AM
+ * 
+ */
+public class PesquisarEmailPorRemetenteSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorRemetenteSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchRemetente("JoÃ£o da Silva");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,48 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-620:Pesquisar apenas mensagens nao lidas
+ * 
+ * Caso de Teste: EL-621:Pesquisar apenas mensagens lidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-620
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-621
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 4:13:45 PM
+ * 
+ */
+public class PesquisarEmailLidaSemResultadoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void pesquisaMensagemLidaSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchSeenMessage("Lida");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoImportanteComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoImportanteComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoImportanteComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,42 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-622:Pesquisar apenas mensagens nao importantes
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-622
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 3:35:48 PM
+ * 
+ */
+public class PesquisarEmailNaoImportanteComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	/**
+	 * see org.expressolivre.cte.email.compor.EnviarEmailTestCase
+	 */
+	@Test
+	public void pesquisaMensagemNaoImportanteComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchImportantMessage("NÃ£o Importante");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,42 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-623:Pesquisar apenas mensagens importantes
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-623
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 3:35:48 PM
+ * 
+ */
+public class PesquisarEmailImportanteComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	/**
+	 * see org.expressolivre.cte.email.compor.EnviarEmailImportanteTestCase
+	 */
+	@Test
+	public void pesquisaMensagemImportanteComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchImportantMessage("Importante");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroAteDataInvalidoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroAteDataInvalidoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroAteDataInvalidoTestCase.java	(revision 4675)
@@ -0,0 +1,46 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1199:Pesquisar mensagens sem parÃ¢metros e parÃ¢metros
+ * invÃ¡lidos
+ * 
+ * Caso de Teste: EL-1200:Pesquisar mensagens com datas invalidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1199
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1200
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 10:20:49 AM
+ * 
+ */
+public class PesquisarEmailParametroAteDataInvalidoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailAteDataInvalida() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchSinceDate("");
+		msp.setSearchOnDate("918272");
+		msp.doSearch();
+		Alert alert = driver.switchTo().alert();
+		assert ("Data invÃ¡lida no campo 'Na Data'".equals(alert.getText()));
+		alert.accept();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroNestaDataInvalidoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroNestaDataInvalidoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroNestaDataInvalidoTestCase.java	(revision 4675)
@@ -0,0 +1,48 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1199:Pesquisar mensagens sem parÃ¢metros e parÃ¢metros
+ * invÃ¡lidos
+ * 
+ * Caso de Teste: EL-1200:Pesquisar mensagens com datas invalidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1199
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1200
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 10:20:49 AM
+ * 
+ */
+public class PesquisarEmailParametroNestaDataInvalidoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailNestaDataInvalida() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchSinceDate("");
+		msp.setSearchOnDate("");
+		msp.setSearchBeforeDate("837378");
+		msp.doSearch();
+		Alert alert = driver.switchTo().alert();
+		assert ("Data invÃ¡lida no campo 'AtÃ© a Data'".equals(alert.getText()));
+		alert.accept();
+
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-1202:Pesquisar mensagens por assunto com acento
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1202
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 11:04:23 AM
+ * 
+ */
+public class PesquisarEmailPorAssuntoSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorAssuntoSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchSubject("assunto nÃ£o encontrado");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,39 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 11:08:00 AM
+ * 
+ */
+public class PesquisarEmailPorTextoComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorTextoComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchBody(EMAIL_TEXTO);
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-626:Pesquisar por intervalos de data
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-626
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 10:06:57 AM
+ * 
+ */
+public class PesquisarEmailPorIntervaloDataSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorIntervaloDataSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchSinceDate("01011984");
+		msp.setSearchBeforeDate("01011999");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoImportanteSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoImportanteSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoImportanteSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-622:Pesquisar apenas mensagens nao importantes
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-622
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 3:35:48 PM
+ * 
+ */
+public class PesquisarEmailNaoImportanteSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaMensagemNaoImportanteSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchImportantMessage("NÃ£o Importante");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-623:Pesquisar apenas mensagens importantes
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-623
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 3:35:48 PM
+ * 
+ */
+public class PesquisarEmailImportanteSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaMensagemImportanteSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchImportantMessage("Importante");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,39 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 11:08:00 AM
+ * 
+ */
+public class PesquisarEmailPorTextoSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorTextoSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchBody("texto nÃ£o encontrado");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,51 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-625:Pesquisar por data especifica
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-625
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 9:34:09 AM
+ * 
+ */
+public class PesquisarEmailPorDataComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorDataComResultado() {
+		Calendar cal = Calendar.getInstance();
+		SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy");
+		String today = sdf.format(cal.getTime());
+
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchOnDate(today);
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroInvalidoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroInvalidoTestCase.java	(revision 4620)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroInvalidoTestCase.java	(revision 4675)
@@ -14,6 +14,4 @@
  * invÃ¡lidos
  * 
- * Caso de Teste: EL-1200:Pesquisar mensagens com datas invalidas
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-618
@@ -21,7 +19,4 @@
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-1199
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1200
  * 
  * @author L.F.Estivalet (Serpro)
@@ -40,38 +35,3 @@
 		alert.accept();
 	}
-
-	@Test
-	public void pesquisaEmailDestaDataInvalida() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchSinceDate("223344");
-		msp.doSearch();
-		Alert alert = driver.switchTo().alert();
-		assert ("Data invÃ¡lida no campo 'Desta  Data'".equals(alert.getText()));
-		alert.accept();
-	}
-
-	@Test
-	public void pesquisaEmailAteDataInvalida() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchSinceDate("");
-		msp.setSearchOnDate("918272");
-		msp.doSearch();
-		Alert alert = driver.switchTo().alert();
-		assert ("Data invÃ¡lida no campo 'Na Data'".equals(alert.getText()));
-		alert.accept();
-	}
-
-	@Test
-	public void pesquisaEmailNestaDataInvalida() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchSinceDate("");
-		msp.setSearchOnDate("");
-		msp.setSearchBeforeDate("837378");
-		msp.doSearch();
-		Alert alert = driver.switchTo().alert();
-		assert ("Data invÃ¡lida no campo 'AtÃ© a Data'".equals(alert.getText()));
-		alert.accept();
-
-	}
-
 }
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataSemResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataSemResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataSemResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-625:Pesquisar por data especifica
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-625
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 9:34:09 AM
+ * 
+ */
+public class PesquisarEmailPorDataSemResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorDataSemResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchOnDate("01011984");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoComAcentoComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoComAcentoComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoComAcentoComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,46 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-1202:Pesquisar mensagens por assunto com acento
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1202
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 11:04:23 AM
+ * 
+ */
+public class PesquisarEmailPorAssuntoComAcentoComResultadoTestCase extends BaseEmailTestCase {
+
+	/**
+	 * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
+	 */
+	@Test
+	public void pesquisaEmailPorAssuntoComAcentoResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchSubject(EMAIL_ASSUNTO_ACENTO);
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoLidaComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoLidaComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailNaoLidaComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,48 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-620:Pesquisar apenas mensagens nao lidas
+ * 
+ * Caso de Teste: EL-621:Pesquisar apenas mensagens lidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-620
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-621
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 4:13:45 PM
+ * 
+ */
+public class PesquisarEmailNaoLidaComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaMensagemNaoLidaComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchSeenMessage("Lida");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"0"));
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroDestaDataInvalidoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroDestaDataInvalidoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailParametroDestaDataInvalidoTestCase.java	(revision 4675)
@@ -0,0 +1,45 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1199:Pesquisar mensagens sem parÃ¢metros e parÃ¢metros
+ * invÃ¡lidos
+ * 
+ * Caso de Teste: EL-1200:Pesquisar mensagens com datas invalidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1199
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1200
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 10:20:49 AM
+ * 
+ */
+public class PesquisarEmailParametroDestaDataInvalidoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailDestaDataInvalida() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchSinceDate("223344");
+		msp.doSearch();
+		Alert alert = driver.switchTo().alert();
+		assert ("Data invÃ¡lida no campo 'Desta  Data'".equals(alert.getText()));
+		alert.accept();
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,48 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-620:Pesquisar apenas mensagens nao lidas
+ * 
+ * Caso de Teste: EL-621:Pesquisar apenas mensagens lidas
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-620
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-621
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 24, 2011 at 4:13:45 PM
+ * 
+ */
+public class PesquisarEmailLidaComResultadoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void pesquisaMensagemLidaComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.searchSeenMessage("Lida");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteComResultadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteComResultadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteComResultadoTestCase.java	(revision 4675)
@@ -0,0 +1,44 @@
+package org.expressolivre.cte.email.pesquisar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.expressolivre.cte.common.Config;
+import org.expressolivre.cte.pages.email.MailSearchPage;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.8] Pesquisar Mensagens
+ * 
+ * Caso de Teste: EL-618:Pesquisa avancada de mensagens
+ * 
+ * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
+ * 
+ * Caso de Teste: EL-624:Pesquisar por remetente
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-618
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1201
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-624
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on May 25, 2011 at 9:23:35 AM
+ * 
+ */
+public class PesquisarEmailPorRemetenteComResultadoTestCase extends
+		BaseEmailTestCase {
+
+	@Test
+	public void pesquisaEmailPorRemetenteComResultado() {
+		MailSearchPage msp = mp.openSearchMessageWindow();
+		msp.setSearchFolders("lINBOX_folders_tree_search");
+		msp.setSearchRemetente("Luiz Fernando Estivalet");
+		msp.doSearch();
+		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
+				"1"));
+	}
+
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorIntervaloDataTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,64 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Caso de Teste: EL-626:Pesquisar por intervalos de data
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-626
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 25, 2011 at 10:06:57 AM
- * 
- */
-public class PesquisarEmailPorIntervaloDataTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void pesquisaEmailPorIntervaloDataSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchSinceDate("01011984");
-		msp.setSearchBeforeDate("01011999");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	@Test
-	public void pesquisaEmailPorIntervaloDataComResultado() {
-		Calendar cal = Calendar.getInstance();
-		SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy");
-		String today = sdf.format(cal.getTime());
-		cal.add(Calendar.DATE, -7);
-		String lastWeek = sdf.format(cal.getTime());
-
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchSinceDate(lastWeek);
-		msp.setSearchBeforeDate(today);
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"2"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailImportanteTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,84 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Caso de Teste: EL-622:Pesquisar apenas mensagens nao importantes
- * 
- * Caso de Teste: EL-623:Pesquisar apenas mensagens importantes
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1201
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-622
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-623
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 24, 2011 at 3:35:48 PM
- * 
- */
-public class PesquisarEmailImportanteTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void pesquisaMensagemImportanteSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchImportantMessage("Importante");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	@Test
-	public void pesquisaMensagemNaoImportanteSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchImportantMessage("NÃ£o Importante");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	/**
-	 * see org.expressolivre.cte.email.compor.EnviarEmailImportanteTestCase
-	 */
-	@Test
-	public void pesquisaMensagemImportanteComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchImportantMessage("Importante");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"1"));
-	}
-
-	/**
-	 * see org.expressolivre.cte.email.compor.EnviarEmailTestCase
-	 */
-	@Test
-	public void pesquisaMensagemNaoImportanteComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchImportantMessage("NÃ£o Importante");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"1"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorTextoTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,48 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1201
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 25, 2011 at 11:08:00 AM
- * 
- */
-public class PesquisarEmailPorTextoTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void pesquisaEmailPorTextoComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchBody(EMAIL_TEXTO);
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"2"));
-	}
-
-	@Test
-	public void pesquisaEmailPorTextoSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchBody("texto nÃ£o encontrado");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailLidaTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,78 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Caso de Teste: EL-620:Pesquisar apenas mensagens nao lidas
- * 
- * Caso de Teste: EL-621:Pesquisar apenas mensagens lidas
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1201
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-620
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-621
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 24, 2011 at 4:13:45 PM
- * 
- */
-public class PesquisarEmailLidaTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void pesquisaMensagemLidaSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchSeenMessage("Lida");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	@Test
-	public void pesquisaMensagemLidaComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchSeenMessage("Lida");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"1"));
-	}
-
-	@Test
-	public void pesquisaMensagemNaoLidaSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchSeenMessage("NÃ£o lida");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	@Test
-	public void pesquisaMensagemNaoLidaComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.searchSeenMessage("NÃ£o lida");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"1"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorRemetenteTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,53 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Caso de Teste: EL-624:Pesquisar por remetente
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1201
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-624
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 25, 2011 at 9:23:35 AM
- * 
- */
-public class PesquisarEmailPorRemetenteTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void pesquisaEmailPorRemetenteSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchRemetente("JoÃ£o da Silva");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	@Test
-	public void pesquisaEmailPorRemetenteComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchRemetente("Luiz Fernando Estivalet");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"2"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorDataTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,60 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Caso de Teste: EL-625:Pesquisar por data especifica
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1201
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-625
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 25, 2011 at 9:34:09 AM
- * 
- */
-public class PesquisarEmailPorDataTestCase extends BaseEmailTestCase {
-
-	@Test
-	public void pesquisaEmailPorDataSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchOnDate("01011984");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-	@Test
-	public void pesquisaEmailPorDataComResultado() {
-		Calendar cal = Calendar.getInstance();
-		SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy");
-		String today = sdf.format(cal.getTime());
-
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchOnDate(today);
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"2"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/pesquisar/PesquisarEmailPorAssuntoTestCase.java	(revision 4620)
+++ 	(revision )
@@ -1,69 +1,0 @@
-package org.expressolivre.cte.email.pesquisar;
-
-import org.expressolivre.cte.common.BaseEmailTestCase;
-import org.expressolivre.cte.common.Config;
-import org.expressolivre.cte.pages.email.MailSearchPage;
-import org.testng.annotations.Test;
-
-/**
- * Suite:[FUN02.8] Pesquisar Mensagens
- * 
- * Caso de Teste: EL-618:Pesquisa avancada de mensagens
- * 
- * Caso de Teste: EL-1201:Pesquisar mensagens sem retornar resultado
- * 
- * Caso de Teste: EL-1202:Pesquisar mensagens por assunto com acento
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-618
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1201
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1202
- * 
- * @author L.F.Estivalet (Serpro)
- * 
- *         Created on May 25, 2011 at 11:04:23 AM
- * 
- */
-public class PesquisarEmailPorAssuntoTestCase extends BaseEmailTestCase {
-
-	/**
-	 * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
-	 */
-	@Test
-	public void pesquisaEmailPorAssuntoComResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchSubject(EMAIL_ASSUNTO);
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"1"));
-	}
-
-	/**
-	 * @see org.expressolivre.cte.email.compor.EnviarEmailTestCase
-	 */
-	@Test
-	public void pesquisaEmailPorAssuntoComAcentoResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchSubject(EMAIL_ASSUNTO_ACENTO);
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"1"));
-	}
-
-	@Test
-	public void pesquisaEmailPorAssuntoSemResultado() {
-		MailSearchPage msp = mp.openSearchMessageWindow();
-		msp.setSearchFolders("lINBOX_folders_tree_search");
-		msp.setSearchSubject("assunto nÃ£o encontrado");
-		msp.doSearch();
-		mp.assertMessage(Config.getInstance().getMensagem("resultado.pesquisa",
-				"0"));
-	}
-
-}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/listar/ExportarEmailNaoSelecionadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/listar/ExportarEmailNaoSelecionadoTestCase.java	(revision 4675)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/listar/ExportarEmailNaoSelecionadoTestCase.java	(revision 4675)
@@ -0,0 +1,28 @@
+package org.expressolivre.cte.email.listar;
+
+import org.expressolivre.cte.common.BaseEmailTestCase;
+import org.testng.annotations.Test;
+
+/**
+ * Suite:[FUN02.3] Listar Mensagem
+ * 
+ * Caso de Teste:
+ * 
+ * EL-1150:Exportar - Sem selecionar
+ * 
+ * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
+ * testcase&id=EL-1150
+ * 
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Mai 16, 2011 at 10:54:30 AM
+ * 
+ */
+public class ExportarEmailNaoSelecionadoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void exportarEmailNaoSelecionado() {
+		mp.exportEmail();
+		mp.assertMessage(MSG_EMAIL_NAO_SELECIONADO);
+	}
+}
Index: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/listar/ExportarEmailSelecionadoTestCase.java
===================================================================
--- devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/listar/ExportarEmailSelecionadoTestCase.java	(revision 4606)
+++ devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/email/listar/ExportarEmailSelecionadoTestCase.java	(revision 4675)
@@ -11,11 +11,6 @@
  * EL-586:Exportar 1 mensagem
  * 
- * EL-1150:Exportar - Sem selecionar
- * 
  * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
  * testcase&id=EL-586
- * 
- * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item=
- * testcase&id=EL-1150
  * 
  * @author L.F.Estivalet (Serpro)
@@ -36,9 +31,3 @@
 
 	}
-
-	@Test
-	public void exportarEmailNaoSelecionado() {
-		mp.exportEmail();
-		mp.assertMessage(MSG_EMAIL_NAO_SELECIONADO);
-	}
 }
Index: devel/testlink/automation2.0/src/test/resources/config.properties
===================================================================
--- devel/testlink/automation2.0/src/test/resources/config.properties	(revision 4620)
+++ devel/testlink/automation2.0/src/test/resources/config.properties	(revision 4675)
@@ -15,5 +15,5 @@
 url=https://10.200.113.112/
 user=88758559000
-passwd=serpro
+passwd=senha123
 
 
@@ -25,4 +25,5 @@
 # Arquivo de configuracao a ser utilizado dependendo do servidor (url) acima
 #config.email=email.preferences_mp.properties
-config.email=email.preferences_comunidade_cte.properties
+config.email=email.preferences_serpro.properties
+#config.email=email.preferences_comunidade_cte.properties
 config.email.admin=email.admin.preferences.properties
Index: devel/testlink/automation2.0/src/test/resources/email.preferences_comunidade_cte.properties
===================================================================
--- devel/testlink/automation2.0/src/test/resources/email.preferences_comunidade_cte.properties	(revision 4058)
+++ devel/testlink/automation2.0/src/test/resources/email.preferences_comunidade_cte.properties	(revision 4675)
@@ -17,5 +17,10 @@
 saveDeletedMsg=usar o padrão
 deleteTrashMessagesAfterNDays=usar o padrão
+
+# Os testes automatizados nao vao utilizar mensagens locais pois envolve o uso
+# do Google Gears que foi descontinuado e uma nova arquitetura esta em
+# desenvolvimento para essa funcionalidade (LFE 01/07/2011).
 useLocalMessages=Não
+
 keepArchivedMessages=usar o padrão
 #autoCreateLocal=usar o padrão
@@ -24,5 +29,5 @@
 #mainScreenShowMail=usar o padrão
 #removeAttachmentsFunction=usar o padrão
-useImportantFlag=Sim
+useImportantFlag=usar o padrão
 useSpellChecker=usar o padrão
 saveInFolder=usar o padrão
@@ -34,5 +39,5 @@
 #maxMsgSize=usar o padrão
 useDynamicContacts=usar o padrão
-useShortcuts=usar o padrão
+#useShortcuts=usar o padrão
 autoSaveDraft=usar o padrão
 #timezone=usar o padrão
Index: devel/testlink/automation2.0/src/test/resources/email.preferences_serpro.properties
===================================================================
--- devel/testlink/automation2.0/src/test/resources/email.preferences_serpro.properties	(revision 4675)
+++ devel/testlink/automation2.0/src/test/resources/email.preferences_serpro.properties	(revision 4675)
@@ -0,0 +1,39 @@
+# Nome: email.preferences_serpro.properties
+#
+# Descricao: Arquivo de preferencias do modulo ExpressoMail para o Serpro
+#
+# Ver arquivo email.preferences.properties
+#
+
+showHeadMsgFull=usar o padrão
+maxEmailPerPage=usar o padrão
+previewMsgSubject=usar o padrão
+previewMsgTip=usar o padrão
+extendedInfo=usar o padrão
+saveDeletedMsg=usar o padrão
+deleteTrashMessagesAfterNDays=usar o padrão
+useLocalMessages=Não
+keepArchivedMessages=usar o padrão
+autoCreateLocal=usar o padrão
+deleteAndShowPreviousMessage=usar o padrão
+alertNewMsg=usar o padrão
+mainScreenShowMail=usar o padrão
+removeAttachmentsFunction=usar o padrão
+useSpellChecker=usar o padrão
+saveInFolder=usar o padrão
+fromToSent=usar o padrão
+hideFolders=usar o padrão
+searchResultNumber=usar o padrão
+lineHeight=usar o padrão
+maxMsgSize=usar o padrão
+useDynamicContacts=usar o padrão
+useShortcuts=usar o padrão
+autoSaveDraft=usar o padrão
+#timezone=usar o padrão
+quickSearchDefault=usar o padrão
+imageSize=usar o padrão
+useSignatureDigitalCripto=usar o padrão
+useSignatureDigital=usar o padrão
+useSignatureCripto=usar o padrão
+useSignature=usar o padrão
+typeSignature=usar o padrão
