Test_PRL_03_02_011_AddNewGroupWithDescriptionOver255Chars
open /portal/public/classic/
echo -- Add new group with Description over 255 characters--
windowMaximize
click link=Sign in
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 add 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 Test_PRL_03_02_011
type label Test_PRL_03_02_011
type description Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011 Test_PRL_03_02_011
waitForElementPresent link=Save
click link=Save
waitForTextPresent The length of the text in field "Description" must be between "0" and "255" characters.
verifyTextPresent The length of the text in field "Description" must be between "0" and "255" 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