| open |
/portal |
|
| windowMaximize |
|
|
| echo |
-Manage Messages- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Mail |
|
| click |
link=Mail |
|
| waitForElementPresent |
//div[2]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div/div/div[1]/div/div/div/div/div/div[1]/div |
|
| click |
//div[2]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div/div/div[1]/div/div/div/div/div/div[1]/div |
|
| echo |
-- Print Message |
|
| waitForElementPresent |
link=eXo_Test |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Print |
|
| click |
link=Print |
|
| waitForElementPresent |
//form[@id='UIPrintPreview'] |
|
| verifyElementPresent |
//a[@class='ActionButton LightBlueStyle'] |
|
| click |
//a[2]/div/div/div |
|
| echo |
-- Check Reply Form |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Reply |
|
| click |
link=Reply |
|
| waitForElementPresent |
//form[@id='UIComposeForm'] |
|
| verifyElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| verifyElementPresent |
//input[@value='Re: eXo_Test'] |
|
| click |
//form[@id='UIComposeForm']/div[3]/div[2]/div//div[1]//a[3]/div |
|
| echo |
-- Check Reply To All form |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Reply to all |
|
| click |
link=Reply to all |
|
| waitForElementPresent |
//form[@id='UIComposeForm'] |
|
| verifyElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| verifyElementPresent |
//input[@value='Re: eXo_Test'] |
|
| click |
//form[@id='UIComposeForm']/div[3]/div[2]/div//div[1]//a[3]/div |
|
| echo |
-- Check Forward form |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Forward |
|
| click |
link=Forward |
|
| waitForElementPresent |
//form[@id='UIComposeForm'] |
|
| verifyElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| verifyElementPresent |
//input[@value='Fwd: eXo_Test'] |
|
| click |
//form[@id='UIComposeForm']/div[3]/div[2]/div//div[1]//a[3]/div |
|
| echo |
-- Check Filter message like this |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Filter messages like this |
|
| click |
link=Filter messages like this |
|
| waitForElementPresent |
//form[@id='UIAddMessageFilter'] |
|
| verifyElementPresent |
//input[@value='exotest4@gmail.com'] |
|
| click |
//div[@id='UIPopupWindow']/div/div[1]/div//div[2] |
|
| echo |
-- Move message from Inbox to Sent folder |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Move to folder |
|
| click |
link=Move to folder |
|
| pause |
10000 |
|
| waitForElementPresent |
folder |
|
| select |
folder |
label=Sent |
| click |
//a[1]/div/div/div |
|
| pause |
10000 |
|
| click |
link=Sent |
|
| waitForElementPresent |
link=eXo_Test |
|
| echo |
-- Move message from Sent to Inbox folder |
|
| pause |
10000 |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Move to folder |
|
| click |
link=Move to folder |
|
| pause |
10000 |
|
| waitForElementPresent |
folder |
|
| select |
folder |
label=Inbox |
| click |
//a[1]/div/div/div |
|
| pause |
10000 |
|
| click |
//div[@id='UIFolderContainer']/div[2]/div[1]/div[1]/a |
|
| waitForElementPresent |
link=eXo_Test |
|
| echo |
-- Check tag message form |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=Tag |
|
| click |
link=Tag |
|
| click |
//td/div[3]/div/div/div |
|
| echo |
-- Add to contact |
|
| click |
//td[1]/input |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| click |
link=Add to contacts |
|
| pause |
10000 |
|
| echo |
- Add contact detail |
|
| waitForElementPresent |
last-name |
|
| type |
last-name |
Test_31 |
| select |
day |
label=5 |
| select |
month |
label=5 |
| select |
year |
label=1985 |
| type |
jobTitle |
Tester |
| click |
link=Save |
|
| waitForElementPresent |
//div[@id='MailWorkingWorkspace']/div[1]/div/div/div/div/div/div[4]/div |
|
| click |
//div[@id='MailWorkingWorkspace']/div[1]/div/div/div/div/div/div[4]/div |
|
| waitForElementPresent |
link=Test_Mail Test_31 |
|
| click |
link=Test_Mail Test_31 |
|
| waitForElementPresent |
//a/div/div/div |
|
| click |
//a/div/div/div |
|
| echo |
-- Check Export form |
|
| mouseOver |
link=eXo_Test |
|
| contextMenu |
link=eXo_Test |
|
| waitForElementPresent |
link=exact:Export (*.eml) |
|
| click |
link=exact:Export (*.eml) |
|
| waitForElementPresent |
//a[2]/div/div/div |
|
| click |
//a[2]/div/div/div |
|
| pause |
10000 |
|
| clickAndWait |
link=Logout |
|