| open |
/csdemo |
|
| windowMaximize |
|
|
| echo |
-Send Email Contact- |
|
| 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 an Contact |
|
| waitForElementPresent |
link=Contacts |
|
| click |
link=Contacts |
|
| waitForElementPresent |
link=Contact |
|
| click |
link=Contact |
|
| waitForElementPresent |
firstName |
|
| type |
firstName |
Test_49 |
| type |
lastName |
eXo_Contact |
| type |
nickName |
Contact_49 |
| type |
jobTitle |
eXo_Tester_49 |
| type |
multiEmail0 |
Test_49@gmail.com |
| click |
link=Save |
|
| echo |
-- Verify contacts created |
|
| waitForElementPresent |
xpath=//div[@class='PersonalAddress']//div[@title='My Contacts'] |
|
| click |
xpath=//div[@class='PersonalAddress']//div[@title='My Contacts'] |
|
| waitForElementPresent |
link=Test_49 eXo_Contact |
|
| verifyElementPresent |
link=Test_49 eXo_Contact |
|
| waitForElementPresent |
link=Test_49@gmail.com |
|
| verifyElementPresent |
link=Test_49@gmail.com |
|
| echo |
-- Send Contact |
|
| waitForElementPresent |
xpath=//div[@class='UIMessageList SpliterResizableListArea']//table[@id='UIListUsers']//tbody/tr[2]//input[1] |
|
| click |
xpath=//div[@class='UIMessageList SpliterResizableListArea']//table[@id='UIListUsers']//tbody/tr[2]//input[1] |
|
| waitForElementPresent |
xpath=//div[@class='UIContactActionsBar']//div[@title='Email'] |
|
| click |
xpath=//div[@class='UIContactActionsBar']//div[@title='Email'] |
|
| waitForElementPresent |
to |
|
| type |
to |
exotest3@gmail.com |
| type |
subject |
Test_49_Past |
| click |
link=Send Mail |
|
| pause |
5000 |
|
| echo |
-- Delete Contact |
|
| waitForElementPresent |
xpath=//div[@class='UIContactActionsBar']//div[@title='Delete'] |
|
| click |
xpath=//div[@class='UIContactActionsBar']//div[@title='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete this contact ? |
|
| waitForElementNotPresent |
link=Test_49 eXo_Contact |
|
| verifyElementNotPresent |
link=Test_49 eXo_Contact |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Verify Contact sent |
|
| open |
/csdemo |
|
| echo |
-Log in- |
|
| 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 |
|
| 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_49_account |
| type |
description |
Test_49_account_description |
| click |
link=Next |
|
| echo |
-- Step 2 |
|
| waitForElementPresent |
outgoingName |
|
| type |
outgoingName |
Test_49 |
| type |
emailAddress |
exotest3@gmail.com |
| type |
emailReply |
exotest3@gmail.com |
| type |
signature |
Test_49_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_49_account |
|
| verifyTextPresent |
Test_49_account |
|
| verifyElementPresent |
getMail |
|
| click |
getMail |
|
| click |
link=Finish |
|
| pause |
10000 |
|
| echo |
- Check Get Mail |
|
| waitForElementPresent |
link=Test_49_Past |
|
| verifyElementPresent |
link=Test_49_Past |
|
| waitForElementPresent |
link=eXo_Test |
|
| verifyElementPresent |
link=eXo_Test |
|
| echo |
-- Delete Mail |
|
| waitForElementPresent |
xpath=//div[@id='uiMessageGrid']//table[@id='UIListUsers']/tbody[1]//input[1] |
|
| click |
xpath=//div[@id='uiMessageGrid']//table[@id='UIListUsers']/tbody[1]//input[1] |
|
| waitForElementPresent |
xpath=//div[@class='UIMessageActionsBar']//div[@class='IconHolder DeleteIcon'] |
|
| click |
xpath=//div[@class='UIMessageActionsBar']//div[@class='IconHolder DeleteIcon'] |
|
| waitForConfirmation |
Are you sure you want to delete this(these) message(s)? |
|
| pause |
5000 |
|
| waitForElementNotPresent |
link=Test_49_Past |
|
| verifyElementNotPresent |
link=Test_49_Past |
|
| echo |
-- Check mail deteleted |
|
| waitForElementPresent |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon'] |
|
| click |
xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon'] |
|
| pause |
10000 |
|
| waitForElementNotPresent |
link=Test_49_Past |
|
| verifyElementNotPresent |
link=Test_49_Past |
|
| echo |
-- Delete Create Account |
|
| click |
//div[@class='UISelectAccount']//div[@title='Manage accounts'] |
|
| waitForElementPresent |
link=Delete account |
|
| click |
link=Delete account |
|
| waitForTextPresent |
Test_49_account |
|
| verifyTextPresent |
Test_49_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? |
|
| clickAndWait |
link=Sign out |
|
| close |
|
|