Test_SNF_CS37_QuickSearch
open /portal
windowMaximize
echo -Quick search in Mail-
waitForElementPresent //b[contains(text(),'Sign in')]
click //b[contains(text(),'Sign in')]
waitForElementPresent username
type username mary
type password gtn
clickAndWait id=UIPortalLoginFormAction
waitForElementPresent link=Mail
click link=Mail
pause 10000
echo -- Search Mail
waitForElementPresent xpath=//div[@class='MailFolderList']//div[3]/a
click xpath=//div[@class='MailFolderList']//div[3]/a
waitForElementPresent search
type search eXo_Test
click xpath=//div[@title='Search']
waitForElementPresent link=eXo_Test
verifyElementPresent link=eXo_Test
clickAndWait link=Logout
close