| open |
/portal/public/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']/div/div/div |
|
| 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 |
searchTerm |
|
| type |
searchTerm |
Group Navigation |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=Title |
| waitForElementPresent |
//form[@id='UIPageSearch']//a[@title="Quick Search"] |
|
| click |
//form[@id='UIPageSearch']//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 |
|
| mouseOver |
//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 |
//div[5]/a |
|
| click |
//div[5]/a |
|
| 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 |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/div[3]/div/a |
|
| mouseDownRight |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/div[3]/div/a |
|
| waitForElementPresent |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div/div/div[2]/div/div/div[7]/a |
|
| click |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div/div/div[2]/div/div/div[7]/a |
|
| echo |
-- Clone node-- |
|
| waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a |
|
| click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a |
|
| waitForElementPresent |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]/div/div |
|
| click |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]/div/div |
|
| 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=Clone Node |
|
| click |
link=Clone Node |
|
| waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1]/a |
|
| click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1]/a |
|
| waitForElementPresent |
//div[@class='HomeNode'] |
|
| mouseDownRight |
//div[@class='HomeNode'] |
|
| waitForElementPresent |
link=Paste Node |
|
| click |
link=Paste Node |
|
| 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-- |
|
| waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a |
|
| click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a |
|
| waitForElementPresent |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]/div/div |
|
| click |
//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]/div/div |
|
| 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 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 |
|