Anda di halaman 1dari 7

Change Password Test Cases

BR-Tag <BR>
UC-Tag <UC>
FR-Tag <FR>
TS Tag <TS>
Test Scenario Description
TC Tag <TC>
Description Common Test Cases for Change Password functionality
Pre-requisites

Smoke/Crit
Step#/TC- Business logic to ical Test
Date Req ID ID check Directions/Steps to execute case? Test type
Yes or No
(Y/N)

UI
1. Open the Application
2. Click on the Change Password
link
TC_CHGPW Change 3. Check whether the Change
D_UI_01 Password Page password Page is loaded

4. Check whether there are 3 text


fields for Old Password, New
TC_CHGPW Password and Re-type new
D_UI_02 password

Functional

TC_CHGPW Change Without entering any passwords,


D_F_01 Password try to submit the page

TC_CHGPW Enter some blank spaces for the


D_F_02 password fields

Without entering Old Pwd, Enter


TC_CHGPW Old Password new password and re-type new
D_F_03 entry password
1. Enter some blank spaces for
Old Password
TC_CHGPW 2. Enter valid new password and
D_F_04 re-type new password
1. Enter invalid old password
TC_CHGPW 2. Enter valid new password and
D_F_05 re-type new password
1. Enter the old password (with
Case changed - "PASSWORD"
instead of "password")
TC_CHGPW 2. Enter valid new password and
D_F_06 re-type new password
1. Enter Valid old Password
2. Without entering new
password and re-type new
TC_CHGPW New Password password, submit the page
D_F_07 entries
1. Enter Valid old Password
2. Enter some blank spaces for
new password and re-type new
TC_CHGPW password and submit the page
D_F_08
1. Enter Valid old Password
2. Enter different passwords for
new password and re-type new
TC_CHGPW password and submit the page
D_F_09

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
TC_CHGPW password and submit the page
D_F_10

TC_CHGPW
D_F_11

TC_CHGPW
D_F_12

TC_CHGPW
D_F_13
1. Enter Valid old Password
2. Enter same passwords for new
password and re-type new
TC_CHGPW password and submit the page
D_F_14
TC_CHGPW Length of Check the length of passwords
D_F_15 password with boundary conditions

TC_CHGPW
D_F_16

TC_CHGPW Check with Alphanumeric


D_F_17 Character set characters (If there is any reqs)

TC_CHGPW
D_F_18

TC_CHGPW
D_F_19

Check the passwords with special


TC_CHGPW Special characters (Particularly Single
D_F_20 Characters quotes, Double quotes, % etc)

TC_CHGPW Blank spaces Enter some blank spaces before


D_F_21 removal valid old password

TC_CHGPW Enter some blank spaces after


D_F_22 valid old password

TC_CHGPW Enter some blank spaces in


D_F_23 between valid old password

Enter some blank spaces before


TC_CHGPW valid new password and Retype
D_F_24 new password

Enter some blank spaces after


TC_CHGPW valid new password and Retype
D_F_25 new password
Build :
Date:

Input Expected output Result


Exception Boundary
Valid Invalid al conditions

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 The system should
Re-Type New Pwd = give appropriate
Empty error message
Old Pwd = BLANK
New Pwd = BLANK The system should
Re-Type New Pwd = give appropriate
BLANK error message
Old Pwd = Empty
New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"pass1" error message
Old Pwd = BLANK
New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"pass1" error message
Old Pwd = INVALID
New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"pass1" error message
Old Pwd =
CHANGECASE
New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"pass1" error message

Old Pwd = valid


New Pwd = EMPTY The system should
Re-Type New Pwd = give appropriate
EMPTY error message

Old Pwd = valid


New Pwd = BLANK The system should
Re-Type New Pwd = give appropriate
BLANK error message

Old Pwd = valid


New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"pass2" error message

Old Pwd = valid


New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"PASS1" error message
Old Pwd = valid
New Pwd = "PASS1" The system should
Re-Type New Pwd = give appropriate
"pass1" 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" The password
Re-Type New Pwd changed message
= "pass1" should be displayed
MIN_LEN,
MIN_LEN+1, The password
MAX_LEN-1, changed message
MAX_LEN should be displayed
The system should
MIN_LEN-1, give appropriate
MAX_LEN+1 error message
The system should
give appropriate
Characters only error message
The system should
give appropriate
Numbers only error message

The password
Both Characters changed message
and Numbers should be displayed
The special
characters should
be handled
properly
The password
Old Pwd = " valid" should be/not be
New Pwd = "pass1" changed
Re-Type New Pwd = (depending on the
"pass1" req)
The password
Old Pwd = "valid " should be/not be
New Pwd = "pass1" changed
Re-Type New Pwd = (depending on the
"pass1" req)
Old Pwd = "va lid"
New Pwd = "pass1" The system should
Re-Type New Pwd = give appropriate
"pass1" error message
Old Pwd = "valid" The password
New Pwd = " should be/not be
pass1" changed
Re-Type New Pwd = (depending on the
" pass1" req)
The password
Old Pwd = "valid" should be/not be
New Pwd = "pass1 " changed
Re-Type New Pwd = (depending on the
"pass1 " req)
Build :
Date:

Comments

Anda mungkin juga menyukai