open |
/portal/public/classic |
|
echo |
-- Create New Node In The First Level -- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
waitForElementPresent |
link=Site |
|
click |
link=Site |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
waitForElementPresent |
link=Add Node |
|
click |
link=Add Node |
|
waitForElementPresent |
name |
|
type |
name |
POR_14_01_006 |
type |
label |
POR_14_01_006 |
echo |
--Choose "Page Selector" tab |
|
waitForElementPresent |
xpath=//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab'] |
|
click |
xpath=//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab'] |
|
waitForElementPresent |
link=Search and Select Page |
|
click |
link=Search and Select Page |
|
echo |
--Select the first page from pages list |
|
waitForElementPresent |
xpath=//div[@id='UIRepeater']//img[@class='SelectPageIcon'] |
|
clickAt |
xpath=//div[@id='UIRepeater']//img[@class='SelectPageIcon'] |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForTextNotPresent |
Page Selector |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForTextNotPresent |
Navigation Management |
|
waitForElementPresent |
link=POR_14_01_006 |
|
click |
link=POR_14_01_006 |
|
echo |
--Delete new node -- |
|
waitForElementPresent |
link=Site |
|
click |
link=Site |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div[1]/a |
|
click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
waitForElementPresent |
xpath=//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='POR_14_01_006'] |
|
mouseDownRight |
xpath=//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='POR_14_01_006'] |
|
waitForElementPresent |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon'] |
|
click |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon'] |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Are you sure you want to delete this node? |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForElementNotPresent |
link=POR_14_01_006 |
|
echo |
--Sign out-- |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|