Create New User
open .
assertTitle VIVO
comment Login as testAdmin
clickAndWait link=Log in
assertTitle VIVO Site Administration
type username testAdmin
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 Joe User
type FirstName Joe
type LastName User
type Md5password joePassword
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 joePassword
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Confirm values for new user
verifyText //tr[1]/td[2] Joe User
verifyText //tr[2]/td[2] Joe
verifyText //tr[3]/td[2] User
verifyText //tr[4]/td[2] 0
verifyTextPresent unprivileged
comment Log out
clickAndWait link=Log out
assertTitle VIVO