Web Functionality Testing verifies that a web application does what it is supposed to do; conformance to user's stated and implied needs. With the increased popularity of automated testing tools, one finds Web Functionality Testing just a piece of cake. However, to enjoy the real essence of testing, a thorough understanding of the areas to be tested is required, prior to executing functional test suite. This article serves the purpose of highlighting at an abstract level those significant areas accompanied by some basic testing guidelines.
A user session (sometimes referred to as a visit) is the presence of a user with a specific IP address on a website for a specified period of time. Session handling plays a vital role in website testing. Following tips may serve fruitful in this context:
A Whatis.com definition of a cookie is "information a website puts on your hard disk so that it can remember something about you at a later time". 'Cookie Testing' is another domain which normally remains unexplored. Following may be considered worthwhile as regards cookie testing is concerned:
An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions. Broadly speaking there are two types of exceptions:
Exceptions due to programming errors e.g. type mismatch, violation of key constraint, out of bounds exception etc
Exceptions due to resource failures e.g. mail server down/network down etc
The ultimate goal is to see whether the application returns meaningful error messages on a custom error page, incase any of such exception has occurred. Moreover, all persistent data operations must be rolled back. Now the question arises, what sort of response has to be provided to the user ? To a greater extent, this depends on the developer's coding tactic; a smart code ensures the following:
Normally web applications require information to be redirected to a third party server for validation e.g. financial transactions need to be validated with respect to credit card information. As such, the information stream from your server to the third party server has to be tested keeping in view the following:
Incase the Mail Server is down, and an important e-mail has to be auto generated to customer, a tester needs to test whether the mail server incorporates any spooling mechanism. By virtue of this, when mail server gets functional again, all spooled e-mails are sent.
Mostly websites require some documents/image files to be uploaded or downloaded. In this context, the following may be tested:
After unit testing, integration testing needs to be performed. That is to test different modules collectively so as to ensure proper functionality across integration points. For instance, a Registration module and Login module are separately functioning properly but when integrated may lead to several loopholes.
Validation checks also play important role in overall functionality of websites. These include (but not limited to):
A very common bug in website testing is broken links. If your site under test comprises of hundreds of pages, it would practically be very cumbersome to click every page and see whether it works or not. Instead a recommended approach is to use a broken link checker. There are many free-wares available for this purpose e.g. http://www.dead-links.com/
The article covers the real time website testing issues in a precise manner
Posted by : Zainab on 2007-07-11 09:12:22
I really liked the article. It is pointing out some potentially buggy areas of web functionality which is usefull for experiented testers. And also can work as a primer for new ones.
I think some more info can be added on cosmetics standards and look & feel testing of web.
Posted by : Faisal Bilal on 2007-07-16 09:36:38
Quite informative article
Posted by : Javeria on 2007-07-16 12:40:46
The article is really informative & is interesting enough to force the reader to finish it...
One thing that I feel is missing is that as the article mentions every thing that a user should do manually, their should be information on how the user can do the same using a certain testing tool.. like which tool is best for which sort of testings on a website.. Rest was great.. Job well done.
Posted by : Iftikhar Hussain on 2007-07-16 13:22:32
I find this article very useful for website functional testing. It’s a well organized article. Areas have been divided nicely and ways to identify commonly occurring defects in those areas have been discussed.
I think author should have discussed functionality issues which arise due to manipulation in data that is passed in URL through query string by Get method. Also at times behavior of websites is different while using different browsers.
Posted by : Waqas Raza on 2007-07-18 09:01:57
The article is precise and informative. I think the load testing is also an integral part of web testing so should have also covered that.
Posted by : Sajjad on 2007-07-18 13:43:31
Very nicely written and well composed . Its truely an excellent guideline for web developers.
Posted by : Ahmad Husssain Naseem on 2007-07-20 19:54:38
Use <fieldset> and <legend> attributes in HTML forms to sectionize your forms and make them more usable
Post A Comment