Test_SNF_SOC_25_Demo_ViewOtherUserActivity
open /portal/public/intranet/
windowMaximize
echo -- View Other User Activites
click //b[contains(text(),'Sign in')]
waitForElementPresent username
type username james
type password gtn
clickAndWait id=UIPortalLoginFormAction
waitForElementPresent link=Activity Streams
clickAndWait link=Activity Streams
echo -- Add Activites
type composerInput This is activity for User_Demo_25
keyPress composerInput \13
waitForElementPresent ShareButton
click ShareButton
echo -- Verify activity is added
waitForTextPresent This is activity for User_Demo_25
verifyTextPresent This is activity for User_Demo_25
waitForElementPresent link=Logout
clickAndWait link=Logout
echo -- View other user activities
click //b[contains(text(),'Sign in')]
waitForElementPresent username
type username root
type password gtn
clickAndWait id=UIPortalLoginFormAction
waitForElementPresent link=Find People
clickAndWait link=Find People
waitForElementPresent link=James Davis
clickAndWait link=James Davis
waitForElementPresent link=Activity
clickAndWait link=Activity
waitForTextPresent This is activity for User_Demo_25
verifyTextPresent This is activity for User_Demo_25
waitForElementPresent link=Logout
clickAndWait link=Logout