• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Functional testing of webpage

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

In general what are the testing done on a webpage Under Functional testing. How functional and Usability testing differs in a webpage testing.

For example(Social Networking website)- I have to login in to my webpage, only registered users are allowed, and I can create groups in that one, under the groups I can have contacts, Search functionalities are provided and we can send messages also to the registered members. As we take this as the scenario what are all the Functionality testing done here.

How much Importance is to check the cookies while testing webpages & how to test the cookies?

Please help me in the above issue.

Thanks in Advance.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do the great majority of my web application functional testing using HTTPUnit. This is a tool which allows familiar JUnit tests to send HTTP requests, fetch web pages and make assertions about their contents, set and check cookes, follow links, click buttons, fill in and submit forms and so on.

This is different from usability testing in that all it tests is that the web application performs as expected, not that the way it performs makes sense or enables actual users to do what they need.
 
P.Sivaraj
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your descrbtion. Can you explain me more, actually we where not using any tools, only manual testing is done, in this case what are the thinks have to be covered in Functional testing.
 
Frank Carver
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Functional testing is "does it do what it should do to do". This depends entirely on the design and specification of the web application. If your specification says that after three failed login attempts a warning message is shown, then part of functional testing would be to try bad passwords three times and check that a warning message is shown. If the spec says that selecting "report 1" and clicking "show" should show the first 20 lines of today's sales report, then part of functional testing would be to test this.

Usability testing is "how well does it do it". It is much less dependent on the specification. Instead it concentrates on whether the on-screen instructions make sense, whether the operations a user needs are available at the right time and in the right place, and so on. Typically usability testing is done by showing the user interface to users and observing how they (try to) use it and the kind of problems and questions they have.

In your original example, testing cookie behaviour is very much functional testing. And (as I mentioned above) I would do it using HTTPUnit. If you really prefer to do manual testing (which soulds like a lot of repetetive work, to me), I believe there is a plugin for firefox which will show you what cookies are being set.
 
P.Sivaraj
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you so much Frank Carver for your detailed Explanation.
[ September 05, 2006: Message edited by: P.Sivaraj ]
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another popular tool for writing functional tests for web applications is Selenium: http://www.openqa.org/selenium/
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think that you asked the question is a black box testing.
maybe you can test it with 6 step:
1. UI testing
2. function testing
3. interface testing
4. compatibility testing
5. load and pressure testing
6. security testing
 
reply
    Bookmark Topic Watch Topic
  • New Topic