Test_PRL_03_02_005_AddNewGroupWhenGroupNameIsTheSameWithExistingButDifferentWithLowerAndUpperCase
open /portal/public/classic/
echo --Add new group is lower case--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
clickAndWait link=Users and groups management
click link=Group Management
waitForElementPresent //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]
click //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]
waitForElementPresent groupName
type groupName test_prl_03_02_005
type label test_prl_03_02_005
type description test_prl_03_02_005
click link=Save
echo -- Add new group is upper case--
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
click //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]
waitForElementPresent groupName
type groupName TEST_PRL_03_02_005
type label TEST_PRL_03_02_005
type description TEST_PRL_03_02_005
click link=Save
echo -- Delete group is upper case--
waitForElementPresent //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[1]
click //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[1]
assertConfirmation Are you sure you want to delete this group?
echo -- Delete group is lower case--
waitForElementPresent link=test_prl_03_02_005
click link=test_prl_03_02_005
click //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[1]
assertConfirmation Are you sure you want to delete this group?
clickAndWait link=Sign out