Pages

Sunday, December 5, 2010

Testing Web Based Applications


 Web Applications are more in use and meets the requirements of all therefore they are more wide and typical and complex to test as more features and more paths are there to test
So when we start testing the web application other than the window based application the process of testing is different.
The factors that effect the testing of Web Applications are as follows:-
  1. ·         Performance
  2. ·         Security Threats
  3. ·         Types of Users
  4. ·         Accessabilty Options
  5. ·         Regulatory Compliance/Standards
  6. ·         Technology Platforms

Performance:-
The applications performance may change due to the following reasons
1.   Network Speed
2.   Browsers
3.   No of Users
4.   Intranet versus Internet based Applications

Issues where we need to concentrate more
v  Preparation of Test Plan :-
Test Plan should be carefully written covering all the scenarios that need to be tested
v  Preparation of Test Cases:-
o   Prepare at least one test cases covering all the functionalities that are to be tested
o   Prepare test cases covering other issues like
Ø  Network speeds like
o   Performance in case of Broad Band usage
o   Performance in case of Dial up connections
Web Applications performance changes when
§  The network speed is slow there is a possibility of getting errors
§  Images may take longer to download for slower networks

Ø  Browsers like
o   IE
o   Fire Fox
o   Google Chrome etc.,
The end users may use different types of browsers to access the application
§  If we test on browser it dos not assure that it will work on all browsers
§  Even  similar browsers application may behave differently based on the Screen resolution/Hardware/Software Configuration

Ø  Sites like
o   Http
o   Https
Ø  Number of users like
o   As the numbers of users increases or decreases during normal hours and peak hours the application performance should not degrade
For example in an online project like AP ONLINE
The employees may be doing different tasks like some may be paying the mobile bills,some may be paying the current bills or some may be just checking there previous bookings they can be related to any thing like on_line reservations of to trains ,buses etc., or checking to the previous paid bills of a particular customer etc.,
Therefore large number of usage paths are possible and all are supposed to work well.
Security threats
Firewalls:
Applications may behave differently across different firewalls. Applications may have certain web services or may operate on different ports that may have been blocked. So the applications need to be tested for these aspects as well.

Security Aspects:
No compromise in case of the security of the data present on the web pages


Types of Users
§  People with varying backgrounds & technical skills may use the application
§  User friendly options should be provided on the sites which need to be tested

Intranet versus Internet based Applications
  • Intranet based applications generally the number of users will be know earlier therefore the developers can make accurate assumptions about the people accessing the applications
  • Also the intranet users can generally access the app from ‘trusted’ sources
While it may be difficult to make similar assumptions for Internet Based Applications
  • Internet applications the users may need to be authenticated and the more security have to be taken

Accessibility:-
The supportive alternatives provided to the disabled people should be checked for the web based applications
Regulatory Compliance/Standards:
Depending on the nature of the application and sensitivity of the data captured the applications may have to be tested for relevant Compliance Standards. This is more crucial for Web Based Applications because of their possible exposure to a wide audience.

Technology platforms
The behaviour of the application varies from platform to platform as need to be tested in different ways on different platforms