edituser Tests

Each of the tests below relates to edituser test cases

Table 4. edituser Test Cases

TESTCASEEVENTIDACTIONEXPECTED_RESULTS
edituser1without filling in any of the fields, hit "search button"all users returned in long form, total number of users at bottom
edituser2enter invalid username in username fieldno matches found
edituser3enter invalid email addressno matches found
edituser4enter invalid first nameno matches found
edituser5enter invalid middle initialno matches found
edituser6enter invalid last nameno matches found
edituser7enter partial or whole valid username, first name or last nameuser is returned
edituser8change email address field, update useruser data updated
edituser9change first name, update useruser data updated
edituser10change middle name, update useruser data updated
edituser11change last name, update useruser data updated
edituser12change user to administrator or to regular useruser administrative field updated
edituser13enter data into users password fields, leave "change password?" pull down to "n"form returned, no changes
edituser14enter data into password fields, different passwords in the fields, "y" to change passworderror returned saying passwords mis-matched
edituser15no data entered into password fields, "y" to change passworderror returned saying password cannot be blank
edituser16enter data into password fields, same in both the fields, "y" to change passwordpassword changed successfully
edituser17hit delete user buttonuser is deleted, edit user search form is returned