| 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 |
-- Add new page for group-- |
|
| waitForElementPresent |
link=Page Management |
|
| clickAndWait |
link=Page Management |
|
| 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=group |
| waitForElementPresent |
ownerId |
|
| select |
ownerId |
label=/organization/management/executive-board |
| waitForElementPresent |
name |
|
| type |
name |
TEST_POR_18_009 |
| type |
title |
TEST_POR_18_009 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Login by any user has right to access new added page-- |
|
| open |
/portal/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| mouseOver |
link=classic |
|
| mouseOver |
link=Organization |
|
| clickAndWait |
link=Site |
|
| waitForElementPresent |
link=Edit Navigation |
|
| click |
link=Edit Navigation |
|
| verifyTextNotPresent |
TEST_POR_18_009 |
|
| waitForElementPresent |
//div[@id='UINavigationManagement']/div[3]/table/tbody/tr/td[2]/div/div/div/div |
|
| click |
//div[@id='UINavigationManagement']/div[3]/table/tbody/tr/td[2]/div/div/div/div |
|
| clickAndWait |
link=Group |
|
| waitForElementPresent |
link=Edit Navigation |
|
| click |
link=Edit Navigation |
|
| verifyTextNotPresent |
TEST_POR_18_009 |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Delete page-- |
|
| open |
/portal/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| waitForElementPresent |
link=Page Management |
|
| clickAndWait |
link=Page Management |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
TEST_POR_18_009 |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=Title |
| waitForElementPresent |
//form[@id='UIPageSearch']/div[2]/a |
|
| click |
//form[@id='UIPageSearch']/div[2]/a |
|
| click |
//img[@title='Delete Page'] |
|
| waitForConfirmationPresent |
|
|
| 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 |
|