| open |
/portal/public/classic/ |
|
| windowMaximize |
|
|
| echo |
-- Manage page of group -- |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
| echo |
-- Go to Manage page -- |
|
| waitForElementPresent |
link=Page Management |
|
| clickAndWait |
link=Page Management |
|
| echo |
-- Add new page-- |
|
| waitForElementPresent |
//div[@id='UIPageBrowser']//a[text()="Add New Page"] |
|
| click |
//div[@id='UIPageBrowser']//a[text()="Add New Page"] |
|
| waitForElementPresent |
ownerType |
|
| select |
ownerType |
label=group |
| waitForElementPresent |
ownerId |
|
| select |
ownerId |
label=/organization/management |
| waitForElementPresent |
//option[@value='/organization/management'] |
|
| click |
//option[@value='/organization/management'] |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_PRL_62 |
| type |
title |
Test_SNF_PRL_62 |
| echo |
-- Choose Page Layout -- |
|
| waitForElementPresent |
//div[@id='UIMaskWorkspace']//div[text()="Page Layout"] |
|
| click |
//div[@id='UIMaskWorkspace']//div[text()="Page Layout"] |
|
| echo |
-- Choose Permission Setting -- |
|
| waitForElementPresent |
//div[@id='UIMaskWorkspace']//div[text()="Permission Setting"] |
|
| click |
//div[@id='UIMaskWorkspace']//div[text()="Permission Setting"] |
|
| echo |
-- Access Permission Setting -- |
|
| waitForTextPresent |
Access Permission Setting |
|
| verifyTextPresent |
Access Permission Setting |
|
| echo |
-- Edit Permission Setting -- |
|
| waitForElementPresent |
link=Edit Permission Setting |
|
| click |
link=Edit Permission Setting |
|
| waitForTextPresent |
Edit Permission Setting |
|
| verifyTextPresent |
Edit Permission Setting |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Search page -- |
|
| waitForElementPresent |
pageTitle |
|
| type |
pageTitle |
Test_SNF_PRL_62 |
| select |
name=searchOption |
label=group |
| waitForElementPresent |
//a[@title='Quick Search'] |
|
| click |
//a[@title='Quick Search'] |
|
| echo |
-- Edit page -- |
|
| waitForElementPresent |
//img[@title='Edit Page'] |
|
| click |
//img[@title='Edit Page'] |
|
| waitForElementPresent |
link=View Page properties |
|
| click |
link=View Page properties |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_PRL_62_edit |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
//div[@id='UIPageEditor']//a[@title='Finish'] |
|
| click |
//div[@id='UIPageEditor']//a[@title='Finish'] |
|
| waitForTextPresent |
Test_SNF_PRL_62_edit |
|
| verifyTextPresent |
Test_SNF_PRL_62_edit |
|
| waitForElementPresent |
pageTitle |
|
| type |
pageTitle |
Test_SNF_PRL_62_edit |
| waitForElementPresent |
//a[@title='Quick Search'] |
|
| click |
//a[@title='Quick Search'] |
|
| echo |
-- Delete page -- |
|
| waitForElementPresent |
//img[@title='Delete Page'] |
|
| click |
//img[@title='Delete Page'] |
|
| waitForConfirmationPresent |
|
|
| assertConfirmation |
Do you want to delete this page? |
|
| waitForTextPresent |
No result found. |
|
| verifyTextPresent |
No result found. |
|
| waitForElementPresent |
//div[contains(@onclick,"action=Close")] |
|
| click |
//div[contains(@onclick,"action=Close")] |
|
| waitForTextNotPresent |
Test_SNF_PRL_62 |
|
| verifyTextNotPresent |
Test_SNF_PRL_62 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|