Automatic Testing of Modern Web Applications in an Agile Environment

A Case Study of Testing a Google Web Toolkit Web Application Using Selenium

Author: Simon Lundmark <simlun@kth.se>

Abstract

Software testing is generally considered difficult but necessary. With the growing popularity of agile software development methodologies it is becoming increasingly necessary to automate this difficult task. Modern web applications using AJAX technology require a slightly modified testing process.

The primary aim of this study is to highlight some problems regarding automatic testing of modern web applications. The secondary goal is to evaluate these suggested problems by performing a case study, comparing the process of testing a traditional JSP implementation without AJAX technology, with the process of testing a modern implementation implemented using Google Web Toolkit. The automatic testing tool Selenium will be used to record and play the test suite.

Testing the traditional web application implementation was very straight forward. Testing the modern AJAX web application implementation was not. Work-arounds do exist and once that lesson is learned Selenium is a welcomed tool used together with Google Web Toolkit.