Test_PRL_01_012_CreateNewAccountWhenCopyFromPasswordAndPasteToConfirmPassword
open /portal/public/classic/
echo --Add new user when copy from Password and paste to Confirm Password field--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
clickAndWait link=New Staff
waitForElementPresent username
type username Test_PRL_01_012
type password Test_PRL_01_012
type Confirmpassword ●●●●●●●●●●●●●●●
type firstName Test_PRL_01_012
type lastName Test_PRL_01_012
type email Test_PRL_01_012@gmail.com
echo -- Choose User profile tab--
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=German
click link=Save
echo -- Show message--
waitForTextPresent Password and Confirm Password must be the same.
verifyTextPresent Password and Confirm Password must be the same.
echo -- Close message--
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
clickAndWait link=Sign out