Test_SNF_CS37_QuickSearch
open /portal/public/intranet
windowMaximize
waitForElementPresent //div[2]/div[2]/div[1]/div/div/div[1]
click //div[2]/div[2]/div[1]/div/div/div[1]
waitForElementPresent username
type username mary
waitForElementPresent password
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a
open /portal/private/intranet/mail
pause 10000
echo -Quick search in Mail-
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