| open |
/csdemo |
|
| windowMaximize |
|
|
| echo |
-Test Mail- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| pause |
10000 |
|
| echo |
-- Add Mail Account |
|
| waitForElementPresent |
link=Mail |
|
| click |
link=Mail |
|
| waitForElementPresent |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder AccountSettingIcon'] |
|
| click |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder AccountSettingIcon'] |
|
| echo |
-- Step 1 |
|
| waitForElementPresent |
accountName |
|
| type |
accountName |
Test_account |
| type |
description |
Test_account_description |
| click |
link=Next |
|
| echo |
-- Step 2 |
|
| waitForElementPresent |
outgoingName |
|
| type |
outgoingName |
Test_Mail |
| type |
emailAddress |
exotest4@gmail.com |
| type |
emailReply |
exotest4@gmail.com |
| type |
signature |
Test_Mail_Signature |
| click |
link=Next |
|
| echo |
-- Step 3 |
|
| waitForElementPresent |
incomingServer |
imap.gmail.com |
| verifyElementPresent |
incomingServer |
imap.gmail.com |
| click |
link=Next |
|
| echo |
-- Step 4 |
|
| waitForElementPresent |
userName |
|
| type |
userName |
exotest4@gmail.com |
| type |
password |
exovietnam |
| click |
link=Next |
|
| echo |
-- Step 5 |
|
| waitForTextPresent |
Test_account |
|
| verifyTextPresent |
Test_account |
|
| verifyElementPresent |
getMail |
|
| click |
getMail |
|
| click |
link=Finish |
|
| pause |
10000 |
|
| echo |
- Check Mailconfig successfully |
|
| waitForElementPresent |
xpath=//div[@class='MailFolderList']//div[1]/a |
|
| verifyElementPresent |
xpath=//div[@class='MailFolderList']//div[1]/a |
|
| waitForElementPresent |
xpath=//div[@class='MailFolderList']//div[2]/a |
|
| waitForElementPresent |
xpath=//div[@class='MailFolderList']//div[2]/a |
|
| verifyElementPresent |
xpath=//div[@class='MailFolderList']//div[3]/a |
|
| verifyElementPresent |
xpath=//div[@class='MailFolderList']//div[3]/a |
|
| echo |
- Send mail to exo3 mail account |
|
| waitForElementPresent |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder ComposeIcon'] |
|
| click |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder ComposeIcon'] |
|
| waitForElementPresent |
to |
|
| type |
to |
exotest3@gmail.com |
| type |
subject |
eXo_Test |
| click |
xpath=//div[@class='UIToolbar']//div[@class='IconHolder SendMailIcon'] |
|
| pause |
5000 |
|
| echo |
-- Check Compose Mail |
|
| click |
xpath=//div[@class='MailFolderList']//div[3]/a |
|
| waitForElementPresent |
link=eXo_Test |
|
| verifyElementPresent |
link=eXo_Test |
|
| clickAndWait |
link=Sign out |
|
| open |
/csdemo |
|
| windowMaximize |
|
|
| echo |
-Create Test Account-- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
-- Add Mail Account |
|
| waitForElementPresent |
link=Mail |
|
| click |
link=Mail |
|
| echo |
-- Create IMAP mail account-- |
|
| waitForElementPresent |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder AccountSettingIcon'] |
|
| click |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder AccountSettingIcon'] |
|
| echo |
-- Step 1 |
|
| waitForElementPresent |
accountName |
|
| type |
accountName |
Test_Account |
| type |
description |
Test_Account_description |
| click |
link=Next |
|
| echo |
-- Step 2 |
|
| waitForElementPresent |
outgoingName |
|
| type |
outgoingName |
Test_Account |
| type |
emailAddress |
exotest3@gmail.com |
| type |
emailReply |
exotest3@gmail.com |
| type |
signature |
Test_Account_Signature |
| click |
link=Next |
|
| echo |
-- Step 3 |
|
| waitForElementPresent |
incomingServer |
imap.gmail.com |
| verifyElementPresent |
incomingServer |
imap.gmail.com |
| click |
link=Next |
|
| echo |
-- Step 4 |
|
| waitForElementPresent |
userName |
|
| type |
userName |
exotest3@gmail.com |
| type |
password |
exovietnam |
| click |
link=Next |
|
| echo |
-- Step 5 |
|
| waitForTextPresent |
Test_Account |
|
| verifyTextPresent |
Test_Account |
|
| verifyElementPresent |
getMail |
|
| click |
getMail |
|
| click |
link=Finish |
|
| pause |
5000 |
|
| echo |
-- Create IMAP mail account-- |
|
| waitForElementPresent |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon'] |
|
| click |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon'] |
|
| pause |
10000 |
|
| echo |
-- Check Get Mail |
|
| waitForElementNotPresent |
//div[@class='MessageNotice'] |
|
| verifyElementNotPresent |
//div[@class='MessageNotice'] |
|
| waitForElementPresent |
link=eXo_Test |
|
| verifyElementPresent |
link=eXo_Test |
|
| clickAndWait |
link=Sign out |
|
| close |
|
|