Tutorial 25 - Web Application Testing - A Complete Guide
Tutorial 25 - Web Application Testing - A Complete Guide
Before we pen down more details on the type of web testing , lets quickly define Web Testing.
1. Functionality Testing :
This is used to check of your product is as per the specifications you intended for it as well as the
functional requirements you charted out for it in your developmental documentation.Testing
Activities Included:
Test all links in your webpages are working correctly and make sure there are no broken links.
Links to be checked will include
Outgoing links
Internal links
Anchor Links
MailTo Links
Scripting checks on the form are working as expected. For example- if a user does not fill
a mandatory field in a form a error message is shown.
Check default values are being populated
Once submitted , the data in the forms is submitted to a live database or is linked to an
working email address
Forms are optimally formatted for better readability
Test Cookies are working as expected. Cookies are small files used by websites to primarily
remember active user sessions so you do not to log in every time you visit a website. Cookie
Testing will include
Testing cookies (sessions) are deleted either when cache is cleared or when they reach
their expiry.
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
Testing your end - to - end workflow/ business scenarios which takes the user through a
series of webpage's to complete.
Test negative scenarios as well , such that when a user executes an unexpected step ,
appropriate error message or help is shown in your web application.
2. Usability testing:
Usability testing has now become a vital part of any web based project. It can carried out by
testers like you or a small focus group similar to the target audience of the web application.
Test the site Navigation:
Menus , buttons or Links to different pages on your site should be easily visible and
consistent on all webpages
Tools that can be used: Chalkmark, Clicktale, Clixpy and Feedback Army
3.Interface Testing:
Three areas to be tested here are - Application , Web and Database Server
Application: Test requests are sent correctly to the Database and output at the client side
is displayed correctly. Errors if any must be caught by the application and must be only
shown to the administrator and not the end user.
Web Server: Test Web server is handling all application requests without any service
denial.
Database Server: Make sure queries sent to the database give expected results.
Test system response when connection between the three layers (Application, Web and
Database) can not be established and appropriate message is shown to the end user.
Tools that can be used: AlertFox,Ranorex
4.Database Testing:
Database is one critical component of your web application and stress must be laid to test it
thoroughly. Testing activities will include
5. Compatibility testing.
Compatibility tests ensures that your web application displays correctly across different devices.
This would includeBrowser Compatibility Test: Same website in different browsers will display differently. You
need to test if your web application is being displayed correctly across browsers , javascript ,
AJAX and authentication is working fine. You may also check for Mobile Browser
Compatibility.
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.
Tools that can be used: NetMechanic
6.Performance Testing:
This will ensure your site works under all loads. Testing activities will include but not limited to
7. Security testing:
Security testing is vital for e-commerce website that store sensitive customer information like
credit cards.Testing Activities will include
8.Crowd Testing:
You will select a large number of people (crowd) to execute tests which otherwise would have
been executed a select group of people in the company. Crowdsourced testing is an interesting
and upcoming concept and helps unravel many a unnoticed defects.
Tools that can be used: People like you and me
This concludes almost all testing types applicable to your web application.
As a Web-tester its important to note that web testing is quite an arduous process and you are
bound to come across many obstacles. One of the major problems you will face is of course
deadline pressure. Everything is always needed yesterday! The number of times the code will
need changing is also taxing. Make sure you plan your work and know clearly what is
expected of you. Its best define all the tasks involved in your web testing and then create a
work chart for accurate estimates and planning.