Test_SNF_PRL_24
open /portal/public/classic
echo -EditDeleteNavigation-
clickAt link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a
open /portal/private/classic/
clickAt link=Group
waitForElementPresent link=Add Navigation
clickAt link=Add Navigation 1,1
waitForElementPresent link=Cancel
clickAt link=Cancel
clickAt link=Edit Navigation
waitForElementPresent link=Add Node
clickAt link=Add Node
waitForText name
type name test_grp_node_24
type label test_grp_label_24
echo --Choose "Page Selector" tab
clickAt xpath=//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab']
clickAt link=Search and Select Page 1,1
echo --Select the first page from pages list
clickAt xpath=//div[@id='UIRepeater']//img[@class='SelectPageIcon']
clickAt link=Save 1,1
clickAt link=Save 1,1
waitForElementPresent link=test_grp_label_24
clickAt link=test_grp_label_24
echo --Edit navigation properties
waitForElementPresent xpath=//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a
clickAt link=Group
waitForElementPresent xpath=//div[@id='UIGroupNavigationGrid']/table[1]//td[@class='ActionBlock']//a[@class='EditProIcon']
clickAt xpath=//div[@id='UIGroupNavigationGrid']/table[1]//td[@class='ActionBlock']//a[@class='EditProIcon']
clickAt link=Save
waitForElementPresent xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']
clickAt xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']
waitForElementPresent xpath=//a[@title='test_grp_label_24']
verifyElementPresent xpath=//a[@title='test_grp_label_24']
echo --Delete new group navigation
componentExoContextMenu xpath=//a[@title='test_grp_label_24']
clickAt xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon']
waitForConfirmation Are you sure you want to delete this node?
waitForElementPresent link=Save
clickAt link=Save
clickAt link=Sign out