| open |
/portal/public/classic |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
-- Create new node does not link to any page-- |
|
| 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_07_003 |
| type |
label |
POR_14_07_003 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Clone node-- |
|
| mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon' and @title='POR_14_07_003'] |
|
| waitForElementPresent |
link=Clone Node |
|
| click |
link=Clone Node |
|
| echo |
-- Paste Clone node-- |
|
| 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 |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
--Check page list in Manage Page-- |
|
| waitForElementPresent |
link=Page Management |
|
| click |
link=Page Management |
|
| echo |
-- Check existing of page with title 'Test_POR_14_07_003' |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
Test_POR_14_07_003 |
| select |
searchOption |
label=Title |
| waitForElementPresent |
xpath=//form[@id='UIPageSearch']/div[2]/a |
|
| click |
xpath=//form[@id='UIPageSearch']/div[2]/a |
|
| waitForElementPresent |
xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a |
|
| click |
xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a |
|
| echo |
--Delete node -- |
|
| waitForElementPresent |
link=Site |
|
| click |
link=Site |
|
| waitForElementPresent |
link=Edit Navigation |
|
| click |
link=Edit Navigation |
|
| mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon' and @title='POR_14_07_003'] |
|
| waitForElementPresent |
link=Delete Node |
|
| click |
link=Delete Node |
|
| assertConfirmation |
Are you sure you want to delete this node? |
|
| mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a |
|
| waitForElementPresent |
link=Delete Node |
|
| click |
link=Delete Node |
|
| assertConfirmation |
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 |
|