open |
/portal/public/classic/ |
|
echo |
-- Check showing Group Management form-- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
echo |
-- Go to User and Group Management -- |
|
waitForElementPresent |
link=Users and groups management |
|
clickAndWait |
link=Users and groups management |
|
echo |
-- Choose Group Management -- |
|
waitForElementPresent |
//div[@class='GroupManagementIcon'] |
|
click |
//div[@class='GroupManagementIcon'] |
|
echo |
-- Select a group from left pane by clicking on group name-- |
|
waitForElementPresent |
link=Customers |
|
click |
link=Customers |
|
waitForTextPresent |
Customers |
|
verifyTextPresent |
Customers |
|
echo |
-- Select a group from left pane by clicking cross icon (+) -- |
|
waitForElementPresent |
//a[@title='Organization'] |
|
click |
//a[@title='Organization'] |
|
waitForTextPresent |
Organization |
|
verifyTextPresent |
Organization |
|
echo |
-- Check showing path to selected group-- |
|
waitForElementPresent |
link=Communication |
|
click |
link=Communication |
|
pause |
2000 |
|
verifyOrdered |
//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[1]/div/div/div/a[1] |
link=Communication |
echo |
-- Check Up level function while showing sub group-- |
|
waitForElementPresent |
//a[@title='Up Level'] |
|
click |
//a[@title='Up Level'] |
|
waitForElementPresent |
//a[@title='Up Level'] |
|
click |
//a[@title='Up Level'] |
|
waitForTextPresent |
Customers |
|
verifyTextPresent |
Customers |
|
echo |
-- Check Up level while showing last parent group-- |
|
waitForElementPresent |
//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a |
|
click |
//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a |
|
waitForElementPresent |
//div[1]/div[2]/div/div/div/div[1]/a |
|
verifyElementPresent |
//div[1]/div[2]/div/div/div/div[1]/a |
|
clickAndWait |
link=Sign out |
|