open |
/portal/public/classic/ |
|
windowMaximize |
|
|
echo |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
echo |
-- Go to Manage page -- |
|
clickAndWait |
link=Page Management |
|
echo |
-- Manage page of portal -- |
|
waitForElementPresent |
//div[@id='UIPageBrowser']//a[text()="Add New Page"] |
|
click |
//div[@id='UIPageBrowser']//a[text()="Add New Page"] |
|
waitForElementPresent |
ownerType |
|
select |
ownerType |
label=portal |
waitForElementPresent |
name |
|
type |
name |
Test_SNF_PRL_61 |
type |
title |
Test_SNF_PRL_61 |
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_61 |
waitForElementPresent |
searchOption |
|
select |
searchOption |
label=portal |
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_61_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_61_edit |
|
verifyTextPresent |
Test_SNF_PRL_61_edit |
|
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. |
|
echo |
-- Close popup-- |
|
waitForElementPresent |
//div[contains(@onclick,"action=Close")] |
|
click |
//div[contains(@onclick,"action=Close")] |
|
waitForTextNotPresent |
Test_SNF_PRL_61 |
|
verifyTextNotPresent |
Test_SNF_PRL_61 |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|