open |
/portal/public/classic/ |
|
echo |
--Go to Page Management-- |
|
clickAt |
link=Sign in |
|
waitForElementPresent |
username |
root |
type |
username |
root |
type |
password |
gtn |
clickAndWait |
xpath=//div[@id='UIPortalLoginFormAction']/div/div/div |
|
echo |
--Select Page Mangement on menu item-- |
|
waitForElementPresent |
link=Page Management |
|
clickAt |
link=Page Management |
|
echo |
--Add new page for user-- |
|
waitForElementPresent |
xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a |
|
clickAt |
xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a |
|
waitForElementPresent |
name |
|
type |
name |
POR_23_002 |
type |
title |
POR_23_002 |
waitForElementPresent |
xpath=//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"] |
|
clickAt |
xpath=//div[@onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"] |
|
waitForElementPresent |
link=Save |
|
clickAt |
link=Save |
|
echo |
--Search new page created-- |
|
type |
searchTerm |
POR_23_002 |
select |
searchOption |
label=Title |
waitForElementPresent |
xpath=//form[@id='UIPageSearch']/div[2]/a |
|
clickAt |
xpath=//form[@id='UIPageSearch']/div[2]/a |
|
echo |
--Delete page of user-- |
|
waitForElementPresent |
xpath=//img[@title='Delete Page'] |
|
clickAt |
xpath=//img[@title='Delete Page'] |
|
assertConfirmation |
Do you want to delete this page? |
|
waitForElementPresent |
xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a |
|
clickAt |
xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a |
|
waitForElementPresent |
link=Sign out |
|
clickAt |
link=Sign out |
|