Test_SNF_ECMS_51_ViewNodePropertise_ecmdemo
open /portal/public/acme/
windowMaximize
echo --Login
click link=Login
waitForElementPresent username
type username root
type password gtn
clickAndWait link=Sign in
echo --Go to Sites Explorer
waitForElementPresent link=Sites Explorer
click link=Sites Explorer
echo --Open  drive pane
waitForElementPresent //div[@id='UISideBar']/div/div[1]/div[2]/div[1]/div/div/div/a/div
click //div[@id='UISideBar']/div/div[1]/div[2]/div[1]/div/div/div/a/div
echo --Open Public drive
waitForElementPresent link=Public
click link=Public
echo --Go to Detail View
waitForElementPresent //form[@id='UIAddressBar']/div[2]/table/tbody/tr/td[1]/a
click //form[@id='UIAddressBar']/div[2]/table/tbody/tr/td[1]/a
echo -- Go to Action tab
pause 5000
waitForElementPresent link=Actions
click link=Actions
pause 5000
echo -- Add Content  folder
waitForElementPresent link=Add Folder
click link=Add Folder
waitForElementPresent name
type name SNF_ECMS_51
echo --- Save
waitForElementPresent link=Save
click link=Save
pause 5000
echo --Go to Admin Tab to View properties
waitForElementPresent link=Admin
click link=Admin
waitForElementPresent link=SNF_ECMS_51
click link=SNF_ECMS_51
waitForElementPresent link=View Node Properties
click link=View Node Properties
echo --go to Add new propertise tab
waitForElementPresent //div[@id='UIPropertiesManager']/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div
click //div[@id='UIPropertiesManager']/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div
waitForElementPresent namespace
select namespace label=nt
type name test
type value0 abc
click link=Save
waitForElementPresent link=Close
click link=Close
echo --Delete Content Folder
waitForElementPresent link=SNF_ECMS_51
mouseDownRight link=SNF_ECMS_51
waitForElementPresent //div[@class='MenuItem']/a[contains(text(),'Delete')]
click //div[@class='MenuItem']/a[contains(text(),'Delete')]
waitForElementPresent //div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div/a
click //div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div/a
waitForTextNotPresent link=SNF_ECMS_51
verifyTextNotPresent link=SNF_ECMS_51
echo --Logout
waitForElementPresent link=Logout
click link=Logout