Test_SNF_PRL_66_ChangeUserProfile
open /portal/public/classic/
echo -- Change User Profile--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']
echo --  Click on the name of user--
waitForElementPresent link=Root Root
click link=Root Root
waitForElementPresent firstName
type firstName Root_edit
type lastName Root_edit
waitForElementPresent link=Save
click link=Save
waitForTextPresent The account information has been updated.
verifyTextPresent The account information has been updated.
waitForElementPresent //div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click //div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
waitForElementPresent link=Close
click link=Close
waitForTextPresent Root_edit Root_edit
verifyTextPresent Root_edit Root_edit
echo -- Delete data--
waitForElementPresent link=Root_edit Root_edit
click link=Root_edit Root_edit
waitForElementPresent firstName
type firstName Root
type lastName Root
waitForElementPresent link=Save
click link=Save
waitForTextPresent The account information has been updated.
verifyTextPresent The account information has been updated.
waitForElementPresent //div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click //div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
waitForElementPresent link=Close
click link=Close
waitForTextPresent Root Root
verifyTextPresent Root Root
waitForElementPresent link=Sign out
clickAndWait link=Sign out