Change Password Test Cases Change Password Test Cases BR-Tag
BR-Tag <BR><BR> UC-Tag
UC-Tag <UC><UC> FR-Tag
FR-Tag <FR><FR> TS Tag
TS Tag <TS><TS> Test Scenario Description
Test Scenario Description TC Tag
TC Tag <TC><TC> Description
Description Common Test Cases for Change Password functionalityCommon Test Cases for Change Password functionality Pre-requisites
Pre-requisites
D
Daattee RReeq q IID SD Stteepp##//TTCC--IIDD DDiirreeccttiioonnss//SStteepps s tto o eexxeeccuuttee TTeesst t ttyyppee
UI UI Functional Functional Business logic to Business logic to check check Smoke/Crit Smoke/Crit ical Test ical Test case? case? Yes or No Yes or No (Y/N) (Y/N) TC_CHGPW TC_CHGPW D_UI_01 D_UI_01 Change Change Password Page Password Page
1. Open the Application 1. Open the Application 2. Click on the
2. Click on the ChangeChange Password link
Password link
3. Check whether the Change 3. Check whether the Change password Page is loaded password Page is loaded
TC_CHGPW TC_CHGPW
D_UI_02 D_UI_02
4. Check whether there are 3 4. Check whether there are 3 text fields for Old
text fields for Old Password,Password, New Password and Re-type New Password and Re-type new password new password TC_CHGPW TC_CHGPW D_F_01 D_F_01 Change Change Password Password
Without entering any Without entering any
passwords, try to submit the passwords, try to submit the page page TC_CHGPW TC_CHGPW D_F_02 D_F_02
Enter some blank spaces for Enter some blank spaces for the password fields
the password fields
TC_CHGPW TC_CHGPW D_F_03 D_F_03 Old Password Old Password entry entry
Without entering Old Pwd, Without entering Old Pwd, Enter new password and Enter new password and re-type new password
type new password
TC_CHGPW TC_CHGPW
D_F_04 D_F_04
1. Enter some blank spaces 1. Enter some blank spaces for Old Password
for Old Password
2. Enter valid new password 2. Enter valid new password and re-type new password and re-type new password
TC_CHGPW D_F_05
1. Enter invalid old password 2. Enter valid new password and re-type new password
TC_CHGPW D_F_06
1. Enter the old password (with Case changed -"PASSWORD" instead of "password")
2. Enter valid new password and re-type new password
TC_CHGPW D_F_07
New Password entries
1. Enter Valid old Password 2. Without entering new password and re-type new password, submit the page
TC_CHGPW D_F_08
1. Enter Valid old Password 2. Enter some blank spaces for new password and re-type new password and submit the page
TC_CHGPW D_F_09
1. Enter Valid old Password 2. Enter different passwords for new password and re-type new password and submit the page
TC_CHGPW D_F_10
1. Enter Valid old Password 2. Enter a password for new password
3. Enter the same password with change in case for re-type new password and submit the page
TC_CHGPW D_F_11 TC_CHGPW D_F_12 TC_CHGPW D_F_13 TC_CHGPW D_F_14
1. Enter Valid old Password 2. Enter same passwords for new password and re-type new password and submit the page
Character set TC_CHGPW
D_F_15
Length of password
Check the length of passwords with boundary conditions
TC_CHGPW D_F_16 TC_CHGPW
D_F_17
Check with Alphanumeric characters (If there is any reqs) TC_CHGPW D_F_18 TC_CHGPW D_F_19 TC_CHGPW D_F_20 Special Characters
Check the passwords with special characters
(Particularly Single quotes, Double quotes, % etc)
TC_CHGPW D_F_21
Blank spaces removal
Enter some blank spaces before valid old password
TC_CHGPW D_F_22
Enter some blank spaces after valid old password
TC_CHGPW D_F_23
Enter some blank spaces in between valid old password
TC_CHGPW D_F_24
Enter some blank spaces before valid new password and Retype new password
TC_CHGPW D_F_25
Enter some blank spaces after valid new password and
Input Expected output Result
Valid Invalid Boundary conditions
Build : Date: Exceptiona l The Change Password page should be displayed There should be separate fields for Old, New and Re-typing New Password Old Pwd = Empty New Pwd = Empty Re-Type New Pwd = Empty The system should give appropriate error message Old Pwd = BLANK New Pwd = BLANK Re-Type New Pwd = BLANK The system should give appropriate error message Old Pwd = Empty New Pwd = "pass1" Re-Type New Pwd = "pass1" The system should give appropriate error message Old Pwd = BLANK New Pwd = "pass1" Re-Type New Pwd = "pass1" The system should give appropriate error message
Old Pwd = INVALID New Pwd = "pass1" Re-Type New Pwd = "pass1" The system should give appropriate error message Old Pwd = CHANGECASE New Pwd = "pass1" Re-Type New Pwd = "pass1" The system should give appropriate error message Old Pwd = valid New Pwd = EMPTY Re-Type New Pwd = EMPTY The system should give appropriate error message Old Pwd = valid New Pwd = BLANK Re-Type New Pwd = BLANK The system should give appropriate error message Old Pwd = valid New Pwd = "pass1" Re-Type New Pwd = "pass2" The system should give appropriate error message Old Pwd = valid New Pwd = "pass1" Re-Type New Pwd = "PASS1" The system should give appropriate error message Old Pwd = valid New Pwd = "PASS1" Re-Type New Pwd = "pass1" The system should give appropriate error message Old Pwd = valid New Pwd = "pAsS1" Re-Type New Pwd = "pass1" Old Pwd = valid New Pwd = "pass1" Re-Type New Pwd = "pAsS1" Old Pwd = valid New Pwd = "pass1" Re-Type New Pwd = "pass1" The password changed message should be displayed
Characters only Numbers only MIN_LEN, MIN_LEN+1, MAX_LEN-1, MAX_LEN The password changed message should be displayed MIN_LEN-1, MAX_LEN+1 The system should give appropriate error message The system should give appropriate error message The system should give appropriate error message Both Characters and Numbers The password changed message should be displayed The special characters should be handled properly Old Pwd = " valid" New Pwd = "pass1" Re-Type New Pwd = "pass1" The password should be/not be changed (depending on the req) Old Pwd = "valid " New Pwd = "pass1" Re-Type New Pwd = "pass1" The password should be/not be changed (depending on the req) Old Pwd = "va lid" New Pwd = "pass1" Re-Type New Pwd = "pass1" The system should give appropriate error message Old Pwd = "valid" New Pwd = " pass1" Re-Type New Pwd = " pass1" The password should be/not be changed (depending on the req) Old Pwd = "valid" New Pwd = "pass1 " Re-Type New Pwd = "pass1 " The password should be/not be changed (depending on the req)