Test_SNF_ECMS_33_CopyPasteNode_ecmdemo
open /portal/public/default/
windowMaximize
clickAndWait link=Visit the Acme Website
echo -- Log in
click link=Login
type username root
type password gtn
clickAndWait link=Sign in
echo -- Site Explorer
clickAndWait //a[@href='/portal/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
echo -- Add folder
waitForElementPresent link=Add Folder
click link=Add Folder
waitForElementPresent name
type name LamYKhue
click link=Save
pause 3000
waitForElementPresent link=Add Folder
click link=Add Folder
waitForElementPresent name
type name LinhNhi
click link=Save
pause 3000
echo -- Copy LamYKhue
waitForElementPresent link=LamYKhue
mouseDownRight link=LamYKhue
pause 3000
waitForElementPresent link=Copy
click link=Copy
pause 3000
echo -- Paste into LinhNhi ^^
waitForElementPresent link=LinhNhi
mouseDownRight link=LinhNhi
waitForElementPresent link=Paste
click link=Paste
pause 3000
echo -- Delete folder
waitForElementPresent link=LamYKhue
mouseDownRight link=LamYKhue
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
pause 3000
waitForElementPresent link=LinhNhi
click link=LinhNhi
echo -- Check LamYKhue in LinhNhi
waitForElementPresent //a[text()='LamYKhue']
verifyElementPresent //a[text()='LamYKhue']
mouseDownRight link=LinhNhi
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
echo -- Logout
waitForElementPresent link=Logout
clickAndWait link=Logout