Web Testing- where to start?

Posted on Jun 3 2012 - 5:32pm by Raj

There are different kinds of architectural techniques used for developing software. Based on the requirement of the application, kind of users and required accessibility the architecture is defined. Web Application or Web-Based software is the form of application, which can be accessed over the internet or intranet.
Web testing is the form of testing, which is performed to test web application. The article below describes how to plan and perform web testing.
The different types of testing are performed based on requirements of the web application. The types of testing performed are:
Functional testing – It covers test for static pages, dynamic pages, database connections, website publishing system, back office management system.
1.    The first aspect to be covered is to test all links of the application. It should include validating –

  • Outgoing links from all the pages from software application under test.
  • Internal links.
  • Anchor links which are associated to information on the same page.
  • Links for sending emails to marketing team, admin team, HR team or other users.

We need to ensure that there are no broken links or orphan pages within the web application. There are various tools available, which can help in performing testing related to links.

2.    The second aspect is to test the dynamic content which includes:
From testing-

  • Check for default values, mandatory values and other field validations such as email ID, phone number, etc . Further tester should include negative testing as well to ensure that forms work well.
  • Database should be validated after form submission to ensure correct insertion of values.
  • Readability and Usability testing of forms. Tester should look for proper formatting and test for basic keys which user can use for ease while inserting information such as Tab key.

Database testing –
Tester should ensure that data consistency is maintained in the software web application.  You should perform to edit, delete and modify operations and validate data integrity for the same.  All these actions should update and retrieve data correctly.

The other aspect of Dynamic testing is to validate Cookies and HTML/CSS. This includes validating how application is maintaining and managing session information. Further tester should validate that the cookies are encrypted before writing to the user machine. Lastly, you need to check for any HTML syntax errors.

Usability testing – the usability testing covers the user interface aspects. This covers the real estate usage, the navigational flow of the application, content validation. Tester should look for consistency of menus,  buttons,  color schemas on different pages of the application.

  • Style test is used to check whether a unified approach is followed on all page reading layout, colors font size, etc.
  • Content testing is used to focus on images, verbiage and relevance. Tester should look for spelling or grammatical errors if any.
  • Graphical test is mainly used to check the image size (the size of the picture of the general web page should follow defined norms and usually should not exceed 30k each), clarity and compression check.
  • Navigation test is used to ensure that the interface of each page is correctly defined, and it is comfortable for user to navigate. For example, there should not be too many steps required by the user to perform shopping and checkout should be simple and precise.

Compatibility Testing – compatibility testing is performed to test browser support, Operating system compatibility, printer friendliness ( in terms of page alignment, fonts, etc.) and mobile browsing capability. Tester should make sure that web application works fine for various combinations of Browsers such as Firefox  version 1 and 2, Internet Explorer 7, 8 or other previous versions of Internet Explorer, Safari  and Operating systems such as Windows XP, 7 and other previous versions of window, Linux,  Mac.

Performance Testing – performance testing will ensure that web application under testing works under specific load conditions performs as expected. You can include following activities for performance testing –

  • Response time of web application with various connection speeds
  • Test the web application by allowing many simultaneous users performing similar action on the same page. This can be done via using various testing tools such as the load runner. Tester should measure the response time and also monitor how application recovers if a crash occurs due to peak load.
  • Stress testing is performed to break the web application by putting stress usually in signup and login areas. This is followed by checking that how web application reacts to stress and recovers from crashes.

Security testing – this testing is usually done for web applications, which cater to sensitive data or user information such as banking applications, e-commerce applications. Security testing includes validating authorized access, session logouts and SSL certificate testing.

The above article provides basic testing to be performed for web testing. For further information and details, you can refer to detailed topic against each form of testing specified above.

About the Author

Leave A Response