Test_PRL_03_02_003_AddNewGroupWhenNameStartWithNumber
open /portal/public/classic/
echo -- Add new group when Name starts with number--
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 link=Group Management
click link=Group Management
echo -- Click Add new group icon--
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 03_02_003
type label Test_PRL_03_02_003
type description Test_PRL_03_02_003
waitForElementPresent link=Save
click link=Save
waitForElementPresent //div[2]/div[2]/div/div/div/div/div[2]
verifyText //div[2]/div[2]/div/div/div/div/div[2] The "Group Name" field must start with a character and must not contain special characters."
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=Cancel
click link=Cancel
clickAndWait link=Sign out