Test_SNF_CS28_Forward
open /portal/intranet/
windowMaximize
echo -Forward Mail-
waitForElementPresent //b[contains(text(),'Sign in')]
click //b[contains(text(),'Sign in')]
waitForElementPresent username
type username mary
type password gtn
clickAndWait id=UIPortalLoginFormAction
echo -- Go to Email
waitForElementPresent css=a.ItemBar.Email
clickAndWait css=a.ItemBar.Email
echo -- Forwardmail: Select first letter
waitForElementPresent xpath=//div[@id='uiMessageGrid']//table[@id='UIListUsers']/tbody[1]//input[1]
click xpath=//div[@id='uiMessageGrid']//table[@id='UIListUsers']/tbody[1]//input[1]
mouseOver //td[4]/div/a/div
contextMenu //td[4]/div/a/div
waitForElementPresent link=Forward
click link=Forward
pause 10000
waitForElementPresent to
type to exotest4@gmail.com
waitForElementPresent subject Fwd: eXo_Test
verifyElementPresent subject Fwd: eXo_Test
click xpath=//div[@class='UIToolbar']//div[@class='IconHolder SendMailIcon']
pause 5000
echo -- Check Reply Mail
waitForElementPresent link=Sent
click link=Sent
waitForElementPresent link=Fwd: eXo_Test
verifyElementPresent link=Fwd: eXo_Test
echo -- Verify Mail was sent successfully
clickAndWait link=Logout
echo -Check Mail-
waitForElementPresent //b[contains(text(),'Sign in')]
click //b[contains(text(),'Sign in')]
waitForElementPresent username
type username demo
type password gtn
clickAndWait id=UIPortalLoginFormAction
echo -- Goto Mail Account
waitForElementPresent css=a.ItemBar.Email
clickAndWait css=a.ItemBar.Email
echo -- Check Get Mails
waitForElementPresent xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon']
click xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon']
pause 20000
echo -- Refresh
waitForElementPresent link=Refresh
click link=Refresh
echo -- Verify have received letter that is FW
waitForElementPresent link=Fwd: eXo_Test
verifyElementPresent link=Fwd: eXo_Test
echo -- Log out
waitForElementPresent link=Logout
clickAndWait link=Logout