| open |
/portal/public/intranet/ |
|
| echo |
-- Manage Navigation of group-- |
|
| windowMaximize |
|
|
| click |
//div[contains(text(),'Sign in')] |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
- Go to Manage groups-- |
|
| waitForElementPresent |
link=Manage groups |
|
| clickAndWait |
link=Manage groups |
|
| echo |
-- Show group navigation list-- |
|
| waitForTextPresent |
Developers |
|
| verifyTextPresent |
Developers |
|
| waitForTextPresent |
Executive Board |
|
| verifyTextPresent |
Executive Board |
|
| waitForTextPresent |
Administrator |
|
| verifyTextPresent |
Administrator |
|
| waitForTextPresent |
Guests |
|
| verifyTextPresent |
Guests |
|
| waitForTextPresent |
Visitors |
|
| verifyTextPresent |
Visitors |
|
| waitForTextPresent |
Content Manager |
|
| verifyTextPresent |
Content Manager |
|
| echo |
-- Add new Navigation for group -- |
|
| waitForElementPresent |
link=Add Navigation |
|
| click |
link=Add Navigation |
|
| waitForElementPresent |
//div[@id='UIAddGroupNavigationGrid']/table[2]/tbody/tr/td[2]/a |
|
| click |
//div[@id='UIAddGroupNavigationGrid']/table[2]/tbody/tr/td[2]/a |
|
| waitForElementPresent |
//div[@id='UIAddGroupNavigation']/div[2]/table/tbody/tr/td/div/div/div/div/a |
|
| click |
//div[@id='UIAddGroupNavigation']/div[2]/table/tbody/tr/td/div/div/div/div/a |
|
| waitForTextPresent |
Organization |
|
| verifyTextPresent |
Organization |
|
| echo |
-- Delete new navigation |
|
| waitForElementPresent |
//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[3] |
|
| click |
//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[3] |
|
| waitForConfirmationPresent |
|
|
| assertConfirmation |
Are you sure to delete this navigation? |
|
| waitForTextNotPresent |
Organization |
|
| verifyTextNotPresent |
Organization |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|