Test_PRL_03_02_004_AddNewGroupWhenGroupNameStartsWithDash
open /portal/public/classic/
echo -- Add new group when Group Name starts with  dash --
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 link=Group Management
click link=Group Management
echo -- Click Add new group icon--
waitForElementPresent //a[@title='Add New Group']
click //a[@title='Add New Group']
echo -- Add new group with name start by dash--
waitForElementPresent groupName
type groupName ---------
type label Test_PRL_02_03_004
type description Test_PRL_02_03_004
waitForElementPresent link=Save
click link=Save
waitForElementPresent //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."
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
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