open |
/portal/public/classic/ |
|
echo |
-- More action on node in edit navigation of group -- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
echo |
-- Go to Group navigation -- |
|
waitForElementPresent |
link=Group |
|
clickAndWait |
link=Group |
|
waitForElementPresent |
//td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Navigation'] |
|
click |
//td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Navigation'] |
|
echo |
-- Add new node-- |
|
waitForElementPresent |
link=Add Node |
|
click |
link=Add Node |
|
waitForElementPresent |
name |
|
type |
name |
Test_SNF_PRL_46 |
type |
label |
Test_SNF_PRL_46 |
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 |
|
type |
//form[@id='UIPageSearchForm']/div[2]/input |
Community Management |
waitForElementPresent |
name=searchOption |
|
select |
name=searchOption |
label=group |
waitForElementPresent |
//a[@title='Quick Search'] |
|
click |
//a[@title='Quick Search'] |
|
waitForElementPresent |
xpath=//img[@title='Select Page'] |
|
click |
xpath=//img[@title='Select Page'] |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- Copy node-- |
|
waitForElementPresent |
link=Test_SNF_PRL_46 |
|
click |
link=Test_SNF_PRL_46 |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
waitForElementPresent |
link=Copy Node |
|
click |
link=Copy Node |
|
echo |
-- paste node to new place-- |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']//a[@title='Organization'] |
|
click |
//div[@id='UINavigationNodeSelector']//a[@title='Organization'] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Organization'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Organization'] |
|
click |
//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')] |
|
echo |
-- Cut node-- |
|
waitForElementPresent |
//div[2]/div/div/div[3]/div/a |
|
click |
//div[2]/div/div/div[3]/div/a |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']//a[@title='Test_SNF_PRL_46'] |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/a |
|
waitForElementPresent |
link=Cut Node |
|
click |
link=Cut Node |
|
echo |
-- paste node to new place-- |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']//a[@title='Organization'] |
|
click |
//div[@id='UINavigationNodeSelector']//a[@title='Organization'] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon' and @title='New Staff'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon' and @title='New Staff'] |
|
waitForElementPresent |
//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')] |
|
click |
//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')] |
|
echo |
-- Clone node-- |
|
waitForElementPresent |
link=Test_SNF_PRL_46 |
|
click |
link=Test_SNF_PRL_46 |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
waitForElementPresent |
link=Clone Node |
|
click |
link=Clone Node |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon'] |
|
click |
//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon'] |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon'] |
|
click |
//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon'] |
|
waitForElementPresent |
//div[@class='HomeNode'] |
|
mouseDownRight |
//div[@class='HomeNode'] |
|
waitForElementPresent |
//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')] |
|
click |
//div[@id='UINavigationManagement']//a[contains(text(),'Paste Node')] |
|
echo |
--Move node up |
|
click |
link=Test_SNF_PRL_46 |
|
waitForElementPresent |
link=Test_SNF_PRL_46 |
|
mouseDownRight |
xpath=//a[@title='Test_SNF_PRL_46'] |
|
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_46'] |
|
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 |
link=Test_SNF_PRL_46 |
|
click |
link=Test_SNF_PRL_46 |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
waitForElementPresent |
link=Delete Node |
|
click |
link=Delete Node |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Are you sure you want to delete this node? |
|
echo |
-- Delete node is copied-- |
|
waitForElementPresent |
css=a.NodeIcon.DefaultPageIcon |
|
click |
css=a.NodeIcon.DefaultPageIcon |
|
waitForElementPresent |
//a[@title='New Staff'] |
|
click |
//a[@title='New Staff'] |
|
waitForElementPresent |
//div[2]/div/div/div[2]/div[2]/div/div/a |
|
click |
//div[2]/div/div/div[2]/div[2]/div/div/a |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
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='Up Level'] |
|
click |
//a[@title='Up Level'] |
|
waitForElementPresent |
link=Test_SNF_PRL_46 |
|
click |
link=Test_SNF_PRL_46 |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46'] |
|
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 |
|
waitForTextNotPresent |
Test_SNF_PRL_46 |
|
verifyTextNotPresent |
Test_SNF_PRL_46 |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|