Friday, September 16, 2011

Test cases for Change Password

Test cases for Forgot Password are mentioned below:

* Field names should be as per the requirements.
* Each field should be having character limit. Character limit for each field will be mentioned in requirement document or in technical specification document if not in either of the documents then it will be definitely available in database diagram.
* Copy and Paste functionality can be allowed in username field but only paste functionality should be allowed in Password field. Copy and Paste functionality can be performed either from hot key like Ctr+C and Ctr+V or from context menu by right click from mouse. Copy functionality is not allowed in Password field because of security reasons.
* Valid and invalid characters in each field. If the requirement tells that Username field can accept alphabets, special characters and numeral values test cases for each set of values containing only alphabets or numeral values or special characters and with also with the different combination should be checked.
* Test case having invalid current password and valid New Password and Confirm Password. Proper error message should be shown.
* Mismatch in New Password and Confirm Password but valid current password. Proper error message should be shown.
* Test case for password having maximum and minimum number of characters for each field new password and confirm password.
* Error message stating each field is mandatory or Required if any of the field is blank and user click on Update button.
* Successful message on change of password. If requirement mentions about email being send on changing password then separate test cases for that. * Separate test cases for email contents should also be written.
* Test cases for Reset or Cancel button should be written if present in screen.

No comments:

Post a Comment