open |
/portal/public/classic/ |
|
echo |
--Login portal-- |
|
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 |
--Copy node-- |
|
waitForElementPresent |
//a[@title='Home'] |
|
componentExoContextMenu |
xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Home'] |
|
waitForElementPresent |
link=Copy Node |
|
clickAt |
link=Copy 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-- |
|
verifyTextPresent |
The source and the destination must be different. |
|
waitForElementPresent |
//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a |
|
clickAt |
//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a |
|
waitForElementPresent |
link=Save |
|
clickAt |
link=Save |
|
echo |
-- Sign out-- |
|
waitForElementPresent |
link=Sign out |
|
clickAt |
link=Sign out |
|