Test_PRL_04_02_002_AddNewMembersipWithSpecialCharsInNameByMembershipManagement
open /portal/public/classic/
echo -- Add new membership with special characters in Name by Membership management--
windowMaximize
click link=Sign in
waitForElementPresent username root
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- Go to Users and group management --
clickAndWait link=Users and groups management
echo -- Choose Membership Manegement --
waitForElementPresent //div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[3]/div[1]
click //div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[3]/div[1]
waitForElementPresent name
type name #%#^#^
type description Test_PTL_04_02_002
waitForElementPresent link=Save
click link=Save
waitForTextPresent Only alpha, digit, dot, dash and underscore characters are allowed for the field "Membership name ".
verifyTextPresent Only alpha, digit, dot, dash and underscore characters are allowed for the field "Membership name ".
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=Reset
click link=Reset
waitForElementPresent link=Sign out
clickAndWait link=Sign out