Web Testing Guidelines
Web Testing Guidelines
Web Testing Guidelines
Web Application
Web Testing in simple terms is checking your web application for potential bugs be-
fore its made live or before code is moved into the production environment.
During this stage issues such as that of web application security, the functioning of
the site, its access to regular users and its ability to handle traffic is checked.
Functionality Testing
What is Functional Testing ?
01. Testing the features and operational behavior of a product to ensure they corre-
spond to its specifications.
02. Testing that ignores the internal mechanism of a system or component and focus-
es solely on the outputs generated in response to selected inputs and execution
conditions.
Test Cookies are working as expected. Cookies are small files used by websites to
primarily remember active user sessions so you do not need to log in every time
you visit a website. Cookie Testing will include
01. Testing cookies (sessions) are deleted either when cache is cleared or when they
reach their expiry.
02. Delete cookies (sessions) and test that login credentials are asked for when you
next visit the site.
Test HTML and CSS to ensure that search engines can crawl your site easily. This
will include
01. Checking for Syntax Errors
02. Readable Color Schemas
03. Standard Compliance. Ensure standards such W3C, OASIS, IETF, ISO, ECMA, or
WS-I are followed.
Usability Testing
What is Usability Testing ?
01. Usability testing is nothing but the User-friendliness check.
02. In Usability testing, the application flow is tested so that a new user can un-
derstand the application easily.
03. Basically, system navigation is checked in Usability testing.
Database Testing
Database is one critical component of your web application and stress must be laid
to test it thoroughly. Testing activities will include-
01. Test if any errors are shown while executing queries.
02. Data Integrity is maintained while creating, updating or deleting data in data-
base.
03. Check response time of queries and fine tune them if necessary.
04. Test data retrieved from your database is shown accurately in your web appli-
cation.
To perform the Database testing, the tester should be aware of the below men-
tioned points:
01. The tester should understand the functional requirements, business logic, ap-
plication flow and database design thoroughly.
02. The tester should figure out the tables, triggers, store procedures, views and
cursors used for the application.
03. The tester should understand the logic of the triggers, store procedures, views
and cursors created.
04. The tester should figure out the tables which get affected when insert update
and delete (DML) operations are performed through the web or desktop appli-
cations.
Test Scenarios for Database Testing
01. Verify the database name: The database name should match with the specifica-
tions.
02. Verify the Tables, columns, column types and defaults. All things should match
with the specifications.
03. Verify whether the column allows a null or not.
04. Verify the Primary and foreign key of each table.
05. Verify the Stored Procedure.
06. Test whether the Stored procedure is installed or not.
07. Verify the Stored procedure name
08. Verify the parameter names, types and number of parameters.
09. Test the parameters if they are required or not.
10. Test the stored procedure by deleting some parameters
11. Test when the output is zero, the zero records should be affected.
12. Test the stored procedure by writing simple SQL queries.
13. Test whether the stored procedure returns the values
14. Test the stored procedure with sample input data.
15. Verify the behavior of each flag in the table.
16. Verify the data gets properly saved into the database after the each page submi-
sion.
17. Verify the data if the DML (Update, delete and insert) operations are performed.
18. Check the length of every field. The field length in the back end and front end
must be same.
19. Verify the database names of QA, UAT and production. The names should
beunique.
20. Verify the encrypted data in the database.
21. Verify the database size. Also test the response time of each query executed.
22. Verify the data displayed on the front end and make sure it is same in the back
end.
23. Verify the data validity by inserting the invalid data in the database.
24. Verify the Triggers.
Compatibility Testing
The rendering of web elements like buttons, text fields etc. changes with change
in Operating System. Make sure your website works fine for various combination
of Operating systems such as Windows, Linux, Mac and Browsers such as Firefox,
Internet Explorer, Safari etc.