| open |
/portal/classic/ |
|
| echo |
-- Groups Management -- |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
| echo |
-- Go to Users and group management -- |
|
| clickAndWait |
link=Users and groups management |
|
| echo |
-- Choose Group Management -- |
|
| waitForElementPresent |
link=Group Management |
|
| click |
link=Group Management |
|
| echo |
-- Add new group -- |
|
| waitForElementPresent |
//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div/div[2]/div/div/a[3] |
|
| click |
//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div/div[2]/div/div/a[3] |
|
| waitForElementPresent |
groupName |
|
| type |
groupName |
Test_SNF_PRL_09 |
| type |
label |
Test_SNF_PRL_09 |
| type |
description |
Test_SNF_PRL_09 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Edit group -- |
|
| waitForElementPresent |
//a[@title="Edit Selected Group"] |
|
| click |
//a[@title="Edit Selected Group"] |
|
| waitForElementPresent |
label |
|
| type |
label |
Test_SNF_PRL_09_edit |
| type |
description |
Test_SNF_PRL_09_edit |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Test_SNF_PRL_09_edit |
|
| verifyTextPresent |
Test_SNF_PRL_09_edit |
|
| echo |
-- Delete group -- |
|
| waitForElementPresent |
//a[@title="Delete Selected Group"] |
|
| click |
//a[@title="Delete Selected Group"] |
|
| assertConfirmation |
Are you sure you want to delete this group? |
|
| waitForTextNotPresent |
Test_SNF_PRL_09 |
|
| verifyTextNotPresent |
Test_SNF_PRL_09 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|