Line | |
---|
1 | package br.gov.serpro.expresso.cte.email.compor; |
---|
2 | |
---|
3 | import org.testng.annotations.Test; |
---|
4 | |
---|
5 | import br.gov.serpro.expresso.cte.common.BaseEmailTestCase; |
---|
6 | |
---|
7 | /** |
---|
8 | * @author L.F.Estivalet (Serpro) |
---|
9 | * |
---|
10 | * Created on Feb 3, 2011 at 9:23:16 AM |
---|
11 | * |
---|
12 | */ |
---|
13 | public class EnviarEmailRascunhoTestCase extends BaseEmailTestCase { |
---|
14 | |
---|
15 | @Test |
---|
16 | public void test() { |
---|
17 | mp.openFolder("lINBOX/Draftstree_folders"); |
---|
18 | mp.waitForElementByXpath("//div[@id='divScrollMain_0']/table[@id='table_box']/tbody[@id='tbody_box']/tr[1]/td[1]/input[1]"); |
---|
19 | String id = mp.readEmail(EMAIL_ASSUNTO_SALVAR); |
---|
20 | mp.editEmail(); |
---|
21 | mp.sendMail(id); |
---|
22 | mp.assertMessage(MSG_EMAIL_ENVIADO); |
---|
23 | } |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.