Test_PRL_03_04_003_DeleteGroupWithoutSelectingGroup
open /portal/public/classic/
echo -- Delete group without selecting group --
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 --
clickAndWait link=Users and groups management
echo -- Choose Group management --
waitForElementPresent link=Group Management
click link=Group Management
echo -- Click delete 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?
waitForTextPresent You must select a group.
verifyTextPresent You must select a group.
waitForElementPresent //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
waitForElementPresent link=Sign out
clickAndWait link=Sign out