open |
/portal/classic/ |
|
echo |
-- More action on node in edit navigation of portal -- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
clickAndWait |
link=Site |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
echo |
-- Add new node-- |
|
waitForElementPresent |
link=Add Node |
|
click |
link=Add Node |
|
waitForElementPresent |
name |
|
type |
name |
Test_SNF_PRL_32 |
type |
label |
Test_SNF_PRL_32 |
echo |
-- Choose Page Selector-- |
|
waitForElementPresent |
//div[text()='Page Selector'] |
|
click |
//div[text()='Page Selector'] |
|
waitForElementPresent |
link=Search and Select Page |
|
click |
link=Search and Select Page |
|
waitForElementPresent |
//form[@id='UIPageSearchForm']/div[2]/input |
Group Navigation |
type |
//form[@id='UIPageSearchForm']/div[2]/input |
Group Navigation |
waitForElementPresent |
name=searchOption |
|
waitForElementPresent |
name=searchOption |
portal |
waitForElementPresent |
//a[@title='Quick Search'] |
|
click |
//a[@title='Quick Search'] |
|
waitForElementPresent |
//img[@title='Select Page'] |
|
click |
//img[@title='Select Page'] |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- Copy node-- |
|
waitForElementPresent |
link=Test_SNF_PRL_32 |
|
click |
link=Test_SNF_PRL_32 |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_32'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
link=Copy Node |
|
click |
link=Copy Node |
|
echo |
-- paste node to new place-- |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']//a[@title="Home"] |
|
click |
//div[@id='UINavigationNodeSelector']//a[@title="Home"] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Home'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Home'] |
|
waitForElementPresent |
//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]/a |
|
click |
//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]/a |
|
echo |
-- Cut node-- |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
waitForElementPresent |
link=Cut Node |
|
click |
link=Cut Node |
|
echo |
-- paste node to new place-- |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div[1]/a |
|
click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div[1]/a |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div//a[@title='SiteMap'] |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div//a[@title='SiteMap'] |
|
waitForElementPresent |
//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]/a |
|
click |
//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]/a |
|
echo |
-- Clone node |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div[2]/div/div//a |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div[2]/div/div//a |
|
waitForElementPresent |
link=Clone Node |
|
click |
link=Clone Node |
|
echo |
|
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2] |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2] |
|
click |
//div[@id='UINavigationNodeSelector']/div/div/div[2]/div/div/div[2]//a |
|
echo |
--Move node up |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
waitForElementPresent |
link=Test_SNF_PRL_32 |
|
mouseDownRight |
xpath=//a[@title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveUp16x16Icon'] |
|
click |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveUp16x16Icon'] |
|
echo |
--Move node down |
|
mouseDownRight |
xpath=//a[@title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveDown16x16Icon'] |
|
click |
xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveDown16x16Icon'] |
|
echo |
-- Delete node is cloned -- |
|
waitForElementPresent |
//a[@title='Test_SNF_PRL_32'] |
|
click |
//a[@title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_32'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
link=Delete Node |
|
click |
link=Delete Node |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Are you sure you want to delete this node? |
|
echo |
-- Delete node is copied-- |
|
click |
css=a.NodeIcon.DefaultPageIcon |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a |
|
click |
xpath=//a[@title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div//a |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div//a |
|
waitForElementPresent |
link=Delete Node |
|
click |
link=Delete Node |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Are you sure you want to delete this node? |
|
echo |
-- Delete node clone- |
|
waitForElementPresent |
//a[@title='SiteMap'] |
|
click |
//a[@title='SiteMap'] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon' and @title='Test_SNF_PRL_32'] |
|
click |
//a[@class='NodeIcon DefaultPageIcon' and @title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_32'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_32'] |
|
waitForElementPresent |
link=Delete Node |
|
click |
link=Delete Node |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Are you sure you want to delete this node? |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|