Test_PRL_03_02_009_AddNewGroupWithBlankLabel
open /portal/public/classic/
echo -- Add new group with blank label--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div
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[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]
click //div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]
echo -- Click add new group--
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_009
type description Test_PRL_03_02_009
waitForElementPresent link=Save
click link=Save
echo -- Delete this group--
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?
clickAndWait link=Sign out