Test_REG_DMS_CCP484_CheckSymlinkNodeInLeftPane
open /ecmdemo/public/acme/
windowMaximize
echo -- Login
click link=Login
waitForElementPresent username
type username root
type password gtn
clickAndWait link=Sign in
echo -- Go to Site Explorer
clickAndWait link=Content Explorer
echo -- Open drive's list
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 -- Select Site Management drive
waitForElementPresent link=Sites Management
click link=Sites Management
echo -- Select acme folder
waitForElementPresent //div[@id='iconTreeExplorer']/div[2]/a
click //div[@id='iconTreeExplorer']/div[2]/a
waitForElementPresent link=Publication
click link=Publication
waitForElementPresent link=Add Document
click link=Add Document
waitForElementPresent title
type title CCP484
type name CCP484
waitForElementPresent //td[@id='cke_contents_summary']/iframe
selectFrame //td[@id='cke_contents_summary']/iframe
type //html/body add symlink to document
selectFrame relative=top
waitForElementPresent //td[@id='cke_contents_content']/iframe
selectFrame //td[@id='cke_contents_content']/iframe
type //html/body add symlink to document
selectFrame relative=top
waitForElementPresent link=Save as Draft
click link=Save as Draft
pause 3000
waitForElementPresent link=Close
click link=Close
pause 3000
waitForElementPresent //div[@id='iconTreeExplorer']/div[2]/a
click //div[@id='iconTreeExplorer']/div[2]/a
waitForElementPresent //div[@id='JCRContextMenu']/div/div/a[4]/div
click //div[@id='JCRContextMenu']/div/div/a[4]/div
waitForElementPresent //img[@title='Add Item']
click //img[@title='Add Item']
waitForElementPresent //div[@id='UIOneNodePathSelector']/div/div[3]/div/div/div/div/div/div[9]/a/div
click //div[@id='UIOneNodePathSelector']/div/div[3]/div/div/div/div/div/div[9]/a/div
waitForElementPresent //div[@id='UIOneNodePathSelector']/div/div[3]/div/div/div/div/div/div[2]/a/div
click //div[@id='UIOneNodePathSelector']/div/div[3]/div/div/div/div/div/div[2]/a/div
waitForElementPresent //div[@id='UIOneNodePathSelector']/div/div[3]/div/div/div/div/div/div[4]/a/div
click //div[@id='UIOneNodePathSelector']/div/div[3]/div/div/div/div/div/div[4]/a/div
verifyElementPresent link=//div[@id='UISelectPathPanel']/table/tbody/tr[10]/td[2]/a/div
verifyElementPresent link=//div[@id='UISelectPathPanel']/table/tbody/tr[10]/td[2]/a/div
waitForElementPresent //div[@id='UIPopupSymLink']/div/div[1]/div/div/div/div[2]
click //div[@id='UIPopupSymLink']/div/div[1]/div/div/div/div[2]
waitForElementPresent //div[@id='UIPopupSymLink']/div/div[1]/div/div/div/div[3]
click //div[@id='UIPopupSymLink']/div/div[1]/div/div/div/div[3]
waitForElementPresent link=Cancel
click link=Cancel
echo -- Delete document
waitForElementPresent link=CCP546
mouseDownRight link=CCP546
waitForElementPresent link=Delete
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
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
waitForElementNotPresent link=CCP546
verifyElementNotPresent link=CCP546
clickAndWait link=Sign out