open |
/portal/public/classic/ |
|
echo |
--Login portal-- |
|
windowMaximize |
|
|
waitForElementPresent |
link=Sign in |
|
clickAt |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//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[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Home'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Home'] |
|
waitForElementPresent |
link=Copy Node |
|
clickAt |
link=Copy Node |
|
echo |
-- Paste node to same place-- |
|
waitForElementPresent |
//div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1] |
|
clickAt |
//div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a |
|
echo |
--Verify text Message-- |
|
waitForElementPresent |
//div[2]/div[3]/div/div/div/div/div[2] |
|
verifyText |
//div[2]/div[3]/div/div/div/div/div[2] |
This node name already exists. |
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-- |
|
clickAndWait |
link=Sign out |
|