Test_POR_22_022_CheckChangesAfterEditPagePropertiesWithFinish
open /portal/public/classic/
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- Go to Manage Page --
waitForElementPresent link=Page Management
clickAndWait link=Page Management
echo -- Add new page --
waitForElementPresent //div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a
click //div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a
waitForElementPresent ownerType
select ownerType label=portal
waitForElementPresent name
type name Test_POR_22_022
type title Test_POR_22_022
echo -- Choose Page Layout --
waitForElementPresent //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div
click //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div
waitForTextPresent Empty Layout
verifyTextPresent Empty Layout
echo -- Choose Permission Setting --
waitForElementPresent //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div
click //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div
echo -- Access Permission Setting --
waitForTextPresent Access Permission Setting
verifyTextPresent Access Permission Setting
waitForText //div[@id='UIListPermissionSelector']/div Make it public (everyone can access):
verifyText //div[@id='UIListPermissionSelector']/div Make it public (everyone can access):
echo -- Edit Permission Setting --
waitForElementPresent link=Edit Permission Setting
click link=Edit Permission Setting
waitForText //div[@id='UIPermissionSelector']/div/div[2]/div/div[2]/div[2] /platform/administrators
verifyText //div[@id='UIPermissionSelector']/div/div[2]/div/div[2]/div[2] /platform/administrators
waitForText //div[@id='UIPermissionSelector']/div/div[2]/div/div[3]/div[1] Membership :
verifyText //div[@id='UIPermissionSelector']/div/div[2]/div/div[3]/div[1] Membership :
waitForElementPresent link=Save
click link=Save
echo -- Search new page --
waitForElementPresent searchTerm
type searchTerm Test_POR_22_022
waitForElementPresent searchOption
select searchOption label=Title
waitForElementPresent //form[@id='UIPageSearch']/div[2]/a
click //form[@id='UIPageSearch']/div[2]/a
waitForElementPresent //img[@title='Edit Page']
click //img[@title='Edit Page']
echo -- Click View Page properties --
waitForElementPresent link=View Page properties
click link=View Page properties
echo -- Change page title--
waitForElementPresent title
type title Test_POR_22_022_edit
echo -- Portal Template --
waitForElementPresent //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div
click //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div
echo -- Edit Permission Setting --
waitForElementPresent link=Edit Permission Setting
click link=Edit Permission Setting
waitForElementPresent link=Delete Permission
click link=Delete Permission
waitForElementPresent link=Select Permission
click link=Select Permission
waitForElementPresent link=Platform
click link=Platform
waitForElementPresent link=Administrators
click link=Administrators
waitForElementPresent link=manager
click link=manager
waitForElementPresent link=Save
click link=Save
waitForElementPresent //div[@id='UIPageEditor']/div[1]/div/div/div/a[2]
click //div[@id='UIPageEditor']/div[1]/div/div/div/a[2]
waitForTextPresent Test_POR_22_022_edit
verifyTextPresent Test_POR_22_022_edit
waitForTextPresent exact:manager:/platform/administrators
verifyTextPresent exact:manager:/platform/administrators
echo -- Delete page --
waitForElementPresent //img[@title='Delete Page']
click //img[@title='Delete Page']
assertConfirmation Do you want to delete this page?
waitForTextPresent No result found.
verifyTextPresent No result found.
waitForElementPresent //div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click //div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
waitForElementPresent link=Sign out
clickAndWait link=Sign out