open |
/portal/public/classic/ |
|
echo |
-- Add new page for group -- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
clickAndWait |
link=Application Registry |
|
echo |
-- Click Add new page on Group editor menu-- |
|
waitForElementPresent |
link=Add New Page |
|
click |
link=Add New Page |
|
waitForElementPresent |
//div[@id='UIPageNodeSelector']//a[@title='Up Level'] |
|
click |
//div[@id='UIPageNodeSelector']//a[@title='Up Level'] |
|
waitForElementPresent |
pageName |
|
type |
pageName |
Test_SNF_PRL_39 |
type |
i18nizedLabel |
Test_SNF_PRL_39 |
echo |
-- Click Next to move step 2-- |
|
waitForElementPresent |
//div[contains(text(),'Next')] |
|
click |
//div[contains(text(),'Next')] |
|
echo |
-- Keep empty layout and click Next move step 3-- |
|
waitForElementPresent |
//div[contains(text(),'Next')] |
|
click |
//div[contains(text(),'Next')] |
|
echo |
-- Click Finish -- |
|
waitForElementPresent |
//a[@title='Finish'] |
|
clickAndWait |
//a[@title='Finish'] |
|
open |
http://localhost:8080/portal/private/classic/administration/Test_SNF_PRL_39 |
|
echo |
-- Go to Edit Navigation -- |
|
waitForElementPresent |
link=Group |
|
clickAndWait |
link=Group |
|
verifyTextPresent |
Administrators |
|
waitForElementPresent |
//td/div[text()='Administrators']/ancestor::tr/td/a[text()='Edit Navigation'] |
|
click |
//td/div[text()='Administrators']/ancestor::tr/td/a[text()='Edit Navigation'] |
|
echo |
-- Delete node -- |
|
waitForElementPresent |
//a[@title='Test_SNF_PRL_39'] |
|
click |
//a[@title='Test_SNF_PRL_39'] |
|
waitForElementPresent |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_39'] |
|
mouseDownRight |
//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_39'] |
|
waitForElementPresent |
link=Delete Node |
|
click |
link=Delete Node |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Are you sure to delete this node? |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- Go to Page Management -- |
|
waitForElementPresent |
link=Page Management |
|
clickAndWait |
link=Page Management |
|
waitForElementPresent |
pageTitle |
|
type |
pageTitle |
Test_SNF_PRL_39 |
select |
name=searchOption |
label=group |
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 |
Are you sure 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_39 |
|
verifyTextNotPresent |
Test_SNF_PRL_39 |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|