| open |
/portal |
|
| windowMaximize |
|
|
| echo |
-Manage Mail Account- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| 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_23_account |
| type |
description |
Test_23_account_description |
| click |
link=Next |
|
| echo |
-- Step 2 |
|
| waitForElementPresent |
outgoingName |
|
| type |
outgoingName |
Test_23 |
| type |
emailAddress |
exotest3@gmail.com |
| type |
emailReply |
exotest3@gmail.com |
| type |
signature |
Test_23_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 |
| type |
password |
exovietnam |
| click |
link=Next |
|
| echo |
-- Step 5 |
|
| waitForTextPresent |
Test_23_account |
|
| verifyTextPresent |
Test_23_account |
|
| verifyElementPresent |
getMail |
|
| click |
getMail |
|
| click |
link=Finish |
|
| echo |
-- Edit Create Account |
|
| click |
//div[@class='UISelectAccount']//div[@title='Manage accounts'] |
|
| waitForElementPresent |
link=Edit account |
|
| click |
link=Edit account |
|
| waitForElementPresent |
accountName |
|
| type |
accountName |
Test_23_account_Edit |
| type |
display-name |
Test_23_Edit |
| type |
mailSignature |
Test_23_Signature_Edit |
| click |
//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIAccountSetting', 'incoming')"] |
|
| click |
//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIAccountSetting', 'incoming')"] |
|
| click |
//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIAccountSetting', 'incoming')"] |
|
| click |
//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIAccountSetting', 'incoming')"] |
|
| click |
//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIAccountSetting', 'outgoing')"] |
|
| click |
//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIAccountSetting', 'fetchOptions')"] |
|
| click |
//div[@id='UIAccountPopupSetting']/div/div[2]/div/div[2]/table/tbody/tr/td/a[1]/div/div/div |
|
| click |
link=OK |
|
| waitForTextPresent |
Test_23_account_Edit |
|
| verifyTextPresent |
Test_23_account_Edit |
|
| echo |
-- Delete Create Account |
|
| click |
//div[@class='UISelectAccount']//div[@title='Manage accounts'] |
|
| waitForElementPresent |
link=Delete account |
|
| click |
link=Delete account |
|
| waitForTextPresent |
Test_23_account |
|
| verifyTextPresent |
Test_23_account |
|
| waitForElementPresent |
xpath=//div[@class='UIAccountList']//img[@class='DeleteIcon'] |
|
| click |
xpath=//div[@class='UIAccountList']//img[@class='DeleteIcon'] |
|
| waitForConfirmation |
Are you sure you want to delete this account? |
|
| click |
//a/div/div/div |
|
| echo |
-- Create POP3 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_23_account |
| type |
description |
Test_23_account_description |
| click |
link=Next |
|
| echo |
-- Step 2 |
|
| waitForElementPresent |
outgoingName |
|
| type |
outgoingName |
Test_23 |
| type |
emailAddress |
exotest3@gmail.com |
| type |
emailReply |
exotest3@gmail.com |
| type |
signature |
Test_23_Signature |
| click |
link=Next |
|
| echo |
-- Step 3 |
|
| waitForElementPresent |
incomingServer |
imap.gmail.com |
| verifyElementPresent |
incomingServer |
imap.gmail.com |
| select |
//select[@name='serverType'] |
label=pop3 |
| click |
//option[@value='pop3'] |
|
| click |
link=Next |
|
| echo |
-- Step 4 |
|
| waitForElementPresent |
userName |
|
| type |
userName |
exotest3 |
| type |
password |
exovietnam |
| click |
link=Next |
|
| echo |
-- Step 5 |
|
| waitForTextPresent |
Test_23_account |
|
| verifyTextPresent |
Test_23_account |
|
| verifyElementPresent |
getMail |
|
| click |
getMail |
|
| click |
link=Finish |
|
| echo |
-- Delete Create Account |
|
| click |
//div[@class='UISelectAccount']//div[@title='Manage accounts'] |
|
| waitForElementPresent |
link=Delete account |
|
| click |
link=Delete account |
|
| waitForTextPresent |
Test_23_account |
|
| verifyTextPresent |
Test_23_account |
|
| waitForElementPresent |
xpath=//div[@class='UIAccountList']//img[@class='DeleteIcon'] |
|
| click |
xpath=//div[@class='UIAccountList']//img[@class='DeleteIcon'] |
|
| waitForConfirmation |
Are you sure you want to delete this account? |
|
| click |
//a/div/div/div |
|
| clickAndWait |
link=Logout |
|
| close |
|
|