Test_PRL_01_005_CreateNewAccountWithUserNameIncludesSpecialCharacers
open /portal/public/classic/
echo -- Create new account with user name includes special characters--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- Go to new staff--
clickAndWait link=New Staff
waitForElementPresent username
type username @%$%^&!
type password Test_POR_01_005
type Confirmpassword ●●●●●●●●●●●●●●●
type firstName Test_POR_01_005
type lastName Test_POR_01_005
type email Test_POR_01_005@gmail.com
echo -- Choose User Profile--
click //div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div
waitForElementPresent user.language
select user.language label=Vietnamese
waitForElementPresent link=Save
click link=Save
waitForTextPresent Only alpha, digit, underscore, dash and dot characters allowed for the field "User Name:".
verifyTextPresent Only alpha, digit, underscore, dash and dot characters allowed for the field "User 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=Sign out
clickAndWait link=Sign out