open |
/portal/public/classic |
|
windowMaximize |
|
|
echo |
-MoveUp/DownNode- |
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
echo |
--Create node |
|
waitForElementPresent |
link=Site |
|
click |
link=Site |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
waitForElementPresent |
link=Add Node |
|
click |
link=Add Node |
|
echo |
--Page Node Setting-- |
|
waitForElementPresent |
name |
|
type |
name |
Test_POR_14_06_001 |
type |
label |
Test_POR_14_06_001 |
echo |
--Go to Page Selector-- |
|
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 |
|
waitForElementPresent |
xpath=//img[@title='Select Page'] |
|
click |
xpath=//img[@title='Select Page'] |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForElementPresent |
link=Test_POR_14_06_001 |
|
click |
link=Test_POR_14_06_001 |
|
echo |
--Change order of node-- |
|
waitForElementPresent |
link=Site |
|
click |
link=Site |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
echo |
--Move node up |
|
verifyElementPresent |
xpath=//a[@title='Test_POR_14_06_001'] |
|
storeXpathCount |
//div[@class='TreeContainer JSContainer']/div/div |
nodeLvl |
waitForElementPresent |
link=Test_POR_14_06_001 |
|
mouseDownRight |
xpath=//a[@title='Test_POR_14_06_001'] |
|
waitForElementPresent |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveUp16x16Icon'] |
|
click |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveUp16x16Icon'] |
|
verifyElementNotPresent |
xpath=//div[@class='TreeContainer JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26'] |
|
echo |
--Move node down |
|
mouseDownRight |
xpath=//a[@title='Test_POR_14_06_001'] |
|
waitForElementPresent |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveDown16x16Icon'] |
|
clickAt |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveDown16x16Icon'] |
|
verifyElementPresent |
xpath=//a[@title='Test_POR_14_06_001'] |
|
mouseDownRight |
xpath=//a[@title='Test_POR_14_06_001'] |
|
waitForElementPresent |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon'] |
|
click |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon'] |
|
waitForConfirmation |
Are you sure you want to delete this node? |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
--Sign out-- |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|