Test_SNF_ECMS_22_CreateDeleteContentFolder_ecmdemo
open /ecmdemo/public/acme/
windowMaximize
echo --Login
waitForElementPresent link=Login
click link=Login
waitForElementPresent username
type username root
type password gtn
clickAndWait link=Sign in
echo --Go to Sites Explorer
clickAndWait //a[@href='/ecmdemo/private/acme/siteExplorer']
echo --Open  driver pane
waitForElementPresent //div[@title='Show Drives']
click //div[@title='Show Drives']
echo --Open Private driver
waitForElementPresent link=Private
click link=Private
echo -Go to Admin View
waitForElementPresent //a[@title='Admin View']
click //a[@title='Admin View']
echo -- Go to Action tab
waitForElementPresent link=Actions
click link=Actions
pause 10000
echo -- Add Content  folder
waitForElementPresent link=Add Folder
click link=Add Folder
pause 3000
waitForElementPresent name
type name Content Folder22
click link=Save
echo --Delete Content Folder
waitForElementPresent link=Content Folder22
mouseDownRight link=Content Folder22
click link=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
pause 5000
echo --Sign out
waitForElementPresent link=Sign out
clickAndWait link=Sign out