Test_SNF_CS28_Forward
open /csdemo
windowMaximize
echo -Forward Mail-
waitForElementPresent //div[@class='LoginButton']
click //div[@class='LoginButton']
waitForElementPresent username
type username mary
type password gtn
click xpath=//div[@id='UIPortalLoginFormAction']//a
waitForElementPresent link=Mail
click link=Mail
echo -- Forwardmail
waitForElementPresent 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
click link=Sent
waitForElementPresent link=Fwd: eXo_Test
verifyElementPresent link=Fwd: eXo_Test
echo -- Verify Mail was sent successfully
clickAndWait link=Sign out
open /csdemo
echo -Check Mail-
waitForElementPresent //div[@class='LoginButton']
click //div[@class='LoginButton']
waitForElementPresent username
type username demo
type password gtn
click xpath=//div[@id='UIPortalLoginFormAction']//a
pause 5000
echo -- Goto Mail Account
waitForElementPresent link=Mail
click link=Mail
echo -- Check Get Mail
waitForElementPresent xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon']
click xpath=//div[@class='UIActionBar']//div[@class='IconHolder CheckMailIcon']
pause 20000
waitForElementPresent link=Fwd: eXo_Test
verifyElementPresent link=Fwd: eXo_Test
clickAndWait link=Sign out
close