open |
/portal/public/classic |
|
echo |
-- Manage node for group -- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
waitForElementPresent |
link=Group |
|
clickAndWait |
link=Group |
|
echo |
-- Edit Navigation -- |
|
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_45 |
type |
label |
Test_SNF_PRL_45 |
echo |
-- Choose Page Selector tab -- |
|
waitForElementPresent |
//div[text()='Page Selector'] |
|
click |
//div[text()='Page Selector'] |
|
echo |
-- Select a page for ndoe-- |
|
waitForElementPresent |
link=Search and Select Page |
|
click |
link=Search and Select Page |
|
type |
//input[@id='pageTitle' and @value='Register'] |
Register |
select |
name=searchOption |
label=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 |
-- Click Save to close Navigation Management form-- |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- View new node-- |
|
waitForElementPresent |
link=Test_SNF_PRL_45 |
|
clickAndWait |
link=Test_SNF_PRL_45 |
|
echo |
-- Edit this node-- |
|
waitForElementPresent |
link=Group |
|
clickAndWait |
link=Group |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
pause |
5000 |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div//a[@title='Test_SNF_PRL_45'] |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div//a[@title='Test_SNF_PRL_45'] |
|
waitForElementPresent |
link=Edit this Node |
|
click |
link=Edit this Node |
|
pause |
2000 |
|
waitForElementPresent |
label |
|
type |
label |
Test_SNF_PRL_45_edit |
echo |
-- Choose Page Selector tab -- |
|
waitForElementPresent |
//div[text()='Page Selector'] |
|
click |
//div[text()='Page Selector'] |
|
echo |
-- Select a page for ndoe-- |
|
waitForElementPresent |
link=Search and Select Page |
|
click |
link=Search and Select Page |
|
waitForElementPresent |
//tr[5]/td[5]/div/img |
|
click |
//tr[5]/td[5]/div/img |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- Close navigation Management form -- |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- View page after edited -- |
|
waitForElementPresent |
link=Test_SNF_PRL_45_edit |
|
click |
link=Test_SNF_PRL_45_edit |
|
waitForTextPresent |
Test_SNF_PRL_45_edit |
|
verifyTextPresent |
Test_SNF_PRL_45_edit |
|
echo |
-- Delete node-- |
|
waitForElementPresent |
link=Group |
|
clickAndWait |
link=Group |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
waitForElementPresent |
//a[@title='Test_SNF_PRL_45_edit'] |
|
mouseDownRight |
//a[@title='Test_SNF_PRL_45_edit'] |
|
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_45_edit |
|
verifyTextNotPresent |
Test_SNF_PRL_45_edit |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|