Reusable Test Case - Web1
Reusable Test Case - Web1
PREPARED BY
DATE
Login Screen
The following test cases are for the Login Screen in Web Applications
The following assumptions are made
1. There exists a Username field which is a text box
2. There exists a Password field which is a text box
3. There exists an OK button
TF
SL No Test Case
1 Type some characters in the username field as well as
password field
Security
The following test cases can be used for the general security checking that needs to be done for Web Applications
SL No Test Case
1 Type the URL of the Home page in the address bar of
the browser and try to access the application
bypassing the Login page
2 Login into the application by giving valid Username and
Password. Then logout from the application. Then click
on the Back button of the browser
3 Check whether the password field is stored in
encrypted format in the database
Forgot Password
The following test cases can be used for the Forgot Password screen
The following assumptions are made
Forgot password has a question field and answer field an ok button and cancel button.
SL No Test Case
1 Verify the answer Fields
Change Password
The following test cases can be used for the Change Password screen
The following assumptions are made
Change password has three edit fields and ok and cancel button
Edit Fields are the following:
Old password
New password
Confirm new password
SL No Test Case
1 Type in all edit fields
2 Click on OK button without entering anything in the edit
fields
3 Click on Cancel button without entering anything in the
edit fields
4 Enter the old password, and enter the new password in
new password field and confirm new password field.
Click on ok button
5 Enter old password and new password. Click on ok
button.
6 Enter old password and confirm new password. Click
on ok button.
7 Enter new password and confirm new password. Click
on ok button.
8 Enter incorrect old password with both the other two
fields having new password.Click on ok button
9 Enter old password and new password in new
password field and some other value in confirm
password field.Click on ok button.
10 Enter the old password, and enter the new password in
new password field and confirm new password field.
Click on Cancel button
11 Enter the old password, and enter the new password in
new password field and confirm new password field.
Click on Cancel button
12 Enter old password and new password. Click on Cancel
button.
13 Enter old password and confirm new password.Click on
Cancel button.
14 Enter new password and confirm new password . Click
on Cancel button.
15 Enter incorrect old password with both the other two
fields having new password. Click on Cancel button.
GUI Testing
The following test cases can be used for the GUI Testing
SL No Test Case
1 Check the title of the internet explorer window.
SL No Test Case
1 Check by default ‘Back’ button and ‘Forward’ buttons
are disabled
2 Login to the site and check for Back button
3 Login to the site and click on ‘Refresh’ button on the
browser
4 Click on ‘Back’ button on the browser (other than Home
Page)
5 Click on ‘Forward’ button on the browser
Logout
The following test cases can be used for the Logout functionality
SL No Test Case
1 Click on the link provided for logout
2 After logging out click on back button in the browser
ed Applications
Required Output
The characters typed in user name field should be
visible in normal alphanumeric format and those in
password field should be masked with *
Appropriate error message should be displayed
or Web Applications
Required Output
The Login page of the application page should be
displayed and the user should not be allowed to access
the application directly
Required Output
The typed item should be in asterisk.
Error message should pop up saying that all fields are
blank.
The change password screen should close.
Required Output
The name should be meaningful and should reflect the
action done in window.
All the buttons should be of same size.
All the pop up screens should be of appropriate size
according to the action it is doing.
All controls should be properly placed.
The color should be uniform.
The font and size of font should be same.
Required Output
It should be disabled
It should be disabled
The page should get refreshed
Required Output
It should take to the login screen
It should not go to the previous page