Test_PRL_03_03_006_EditDescriptionOfGroup
open /portal/public/classic/
echo -- Edit Description of 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 //div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[2]
click //div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[2]
echo -- 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_03_006
type label Test_PRL_03_03_006
type description Test_PRL_03_03_006
waitForElementPresent link=Save
click link=Save
echo -- edit description--
waitForElementPresent //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[2]
click //div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[2]
waitForElementPresent description
type description Test_PRL_03_03_006_edit
waitForElementPresent link=Save
click link=Save
echo -- 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?
clickAndWait link=Sign out