Create New User
open .
assertTitle VIVO
comment Login as defaultAdmin
clickAndWait link=Log in
assertTitle VIVO Site Administration
type username defaultAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Create a new user
clickAndWait link=User accounts
assertTitle User Accounts
clickAndWait //input[@value='Add new user account']
assertTitle User Account Editing Form
type Username User Mgmt
type FirstName User
type LastName Mgmt
type Md5password UserMgmt
comment Enter a mis-matched confirmation password
type passwordConfirmation somethingElse
click primaryAction
assertAlert The passwords do not match.
comment Now enter a correct password
type passwordConfirmation UserMgmt
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Confirm values for new user
verifyText //tr[1]/td[2] User Mgmt
verifyText //tr[2]/td[2] User
verifyText //tr[3]/td[2] Mgmt
verifyText //tr[4]/td[2] 0
verifyTextPresent unprivileged
comment Log out
clickAndWait link=Log out
assertTitle VIVO