Test_POR_14_04_005_CutPasteNodeInToTheSameThisSource
open /portal/public/classic/
echo --Login portal--
windowMaximize
waitForElementPresent link=Sign in
clickAt link=Sign in
type username root
type password gtn
clickAt //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo --Open Navigation Management pop-up --
waitForElementPresent link=Site
clickAt link=Site
waitForElementPresent link=Edit Navigation
clickAt link=Edit Navigation
echo --Cut node--
waitForElementPresent //a[@class='NodeIcon DefaultPageIcon NodeSelected'and @title='Home']
mouseDownRight //a[@class='NodeIcon DefaultPageIcon NodeSelected'and @title='Home']
waitForElementPresent link=Cut Node
clickAt link=Cut Node
echo -- Paste node to same place--
componentExoContextMenu //a[@title='Home']
waitForElementPresent //div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a
clickAt //div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a
echo --Verify text Message--
waitForTextPresent The source and the destination must be different.
verifyTextPresent The source and the destination must be different.
waitForElementPresent //div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//a
clickAt //div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//a
waitForElementPresent //div[@id='UINavigationManagement']//table[@class='ActionContainer']//tr//td[2]//a
clickAt //div[@id='UINavigationManagement']//table[@class='ActionContainer']//tr//td[2]//a
echo -- Sign out--
waitForElementPresent link=Sign out
clickAt link=Sign out