Test_PRL_03_02_002_AddNewGroupWithBlankRequireFields
open /portal/public/classic/
echo -- Add new group with blank required fields--
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 -- Click Add new group --
waitForElementPresent //a[@title='Add New Group']
click //a[@title='Add New Group']
waitForElementPresent label
type label Test_PRL_03_02_002
type description Test_PRL_03_02_002
waitForElementPresent link=Save
click link=Save
waitForTextPresent The field "Group Name" is required.
verifyTextPresent The field "Group Name" is required.
waitForElementPresent //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div
click //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div
waitForElementPresent link=Cancel
click link=Cancel
clickAndWait link=Sign out