Unit Testing Checklist-11Nov2021
Unit Testing Checklist-11Nov2021
Login
Forms
View/Edit/Delete a record
Search
Session Tracking
Controls
Performance
Payment Gateway
Wireframes
Database Checklist
Checklist Item
Verify the default focus is in the first available field on the page
Verify error message is shown if user tried to login with only userid
Verify error message is shown if user tried to login with only password
Verify user is not allowed to login with invalid userid or password and an error msg is shown
Verify user is not allowed to login with invalid userid and password and an error msg is shown
Verify user is able to login with valid userid and password
Verify submit button is made default button
Verify tab order is working and is in cyclic order
Verify pressing shift+tab key moves the cursor in anti cyclic order
Verify text fields are aligned properly
Verify blank spaces are not accepted as userid and password
Verify minimum length (4 chars) check is implemented for password & Max Length 10 Char with one Special Char and N
Verify max length (10 chars) check is implemented for password
Verify that User should only be able to login in one browser only on one machine.
Verify userid starting with a letter is only accepted
Verify the case sensitivity of password.
Verify while entering the password it should be displayed as * and not the actual text.
Verify login component is SQL injection proof
Verify the cursor is displayed in first available field on the page, by default
Verify the submit button is made the default button for the page
Verify java/VB script script is implemented on the page
Verify java/VB script error messages are generated in the correct order
Verify the error messages are explanatory and to the point
Verify the error messages are gramatically correct
Verify no test data (eg True/False flags etc) is displayed alongwith error messages
Verify maximum length check is implemented for all the fields in the form
Verify all mandatory fields are marked with star sign
Verify on top of the form the meaning of star is written (as *mandatory field)
Verify the text boxes, text areas, pull down list and any other controls on the page are aligned properly
Verify tab order is working and is in cyclic order (left to right and top to bottom)
Verify pressing shift+tab moves the cursor in reverse order
Verify phone/fax format is specified to these fields (if applicable)
Verify blank space is not accepted as data for the mandatory fields
Verify pull down lists are arranged in alphabetical order
Verify pressing the letter selects the first available item in the pull down list
Verify pressing home/end takes the cursor to first and last items respectively in the pull down list
Verify Reset button reset the values in the fields on the form
Verify pressing save button saves the form and a preview page is shown
Verify that Submit button is the default on the form, pressing enter from anywhere in the form should submit the Page.
Refreshing of the Page should be minimum
Verify that duplicacy of Information asked on the form should not be there.
Verify that the input field are grouped by category in the form.
Verify that To date cannot be less than Start date.
Verify only numeric values are accepted for phone/fax field
Verify the valid format is displayed alongside of the phone/fax field
Verify value is accepted in only the given format for the phone/fax field
Verify only numeric values are accepted for pin code field
Verify the valid format is displayed alongside of the pin code field.
Verify value is accepted in only the given format for the pin code field.
Verify valid format is displayed next to the Date field.
Verify value is accepted only in the given format for the Date field.
Verify address field accepts alphanumeric and special characters also.
Verify error messages are displayed as soon as any incorrect information is filled and not collectively on click of Submit.
Verify the records shown are by default sorted on the first column heading
Verify the page number is shown highlighted for the page being displayed
Verify that when editing a record on third page , after editing , Page returns on the same page.
Verify Go button is the default button
Verify pressing straightway enter key for search field does not give any results (for this purpose VIEW ALL option is
implemented)
Verify blank space search is not allowed
Verify search is keyword search
Verify multiple words search is functional
Verify special characters search is handled
Verify the tab order is correct for search field and go button
Verify that passing HTML content in the Search string is filtered for the tags.
Verify session timeout on particular page, after login, leads to the same page.
Verify that after Logout and hitting the Back button, the session should expire and should prompt for Login ID/password
before proceeding further.
Verify secure mode at the check out point for shopping site, which is usually right before you enter your credit card
information.
Verify user is able to add the items to the drop down list
Verify pressing Home key should take the control on the first item in the list box
Verify pressing End key should take the control on the last item in the list box
Verify SpaceBar should open the list, or if the list is already open, should select the item from the list, or close the list.
Verify Esc should close the list.
Verify Home/End key should move to the start/end of the entry field in the spin box control.
Verify horizontal arrow keys should move forward and backwards in the entry field in the spin box control.
Verify vertical arrow keys should increase or decrease the value by one.
Verify PageUp/PageDown should increase or decrease the value in specified steps.
Use well defined and consistent names for tables and columns
Table Must contain Primary Key
Use integer id fields for all tables
Don’t use unnecessary prefixes or suffixes for table names
Use bit fields for Boolean values
Index should be defined as per requirement.
Do not use varchar(max) unnecessary.
Every datatype/data size should be used as per need
Stored Procedure/Function, should contains version, purpose, created/modified data and author name.
Stored procedure , Stored procedure should control error handling and debug code.
Result [Y/N] Front End/Backend/DB
Y Front end
Y
Y
Y Front End
N Front End
N
Design
Y
Back end
Y
Y
N
N
N
Y
Y
Y
Y
Y Front end
Y Front end
Y Front end
Y Back end
Y Front end
Y Front end
Y
N
N
N
Y Front end
N
Y Back end
N
N
Y Front end
N
Y
N
N
Designer
Y Front end
Y Front end
Y Front end
Y
Y Front end As per Requirement
Y Front end Placeholder
Y Front end
Design
Y Front end
Y Back end
Y Back end
Y Front end
Y Front end
Y Front end
N
N
Y Front end
Y Front end
Y Back end
Y Front end
Y
Y
Y
Y Front end
Y
Y
Y
N
N
Y Back end
C
N
N
N
N
N
Y
N
N
N
Y Front end In Grid View
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y