Title: Extending HtmlUnit for test automatisation of Web applications using AJAX
Language: English
Authors: Langer, Andreas 
Qualification level: Diploma
Advisor: Grechenig, Thomas
Assisting Advisor: Bernhart, Mario
Issue Date: 2009
Number of Pages: 99
Qualification level: Diploma
Abstract: 
Software testing is a part of the software development process.
It is a challenging task and testing Web-based applications may be even more difficult, due to the peculiarities of such applications. New technologies in internet applications require adaptations of most test frameworks. A very popular technology which is widely used from many well known internet services is called AJAX. AJAX stands for "Asynchronous JavaScript and XML" and is a combination of many known technologies, which allow asynchronous data communication between server and client. In contrast to the standard synchronous data communication, which means loading an entire web page after each request, AJAX allows dynamic refreshes of the web page and data exchange of parts of the page. Thus testing of such internet applications is different from testing of "normal" applications because there can be interactions with the server without the need to load a new page. Communication is done in the background and the current page stays the same except of minor changes.
This paper gives an overview of the basic principles of automated software tests, especially automated testing of web based applications. Furthermore it shows the influence of AJAX concerning web development and testing of web applications. The main issue of this paper is to extend HtmlUnit for test automation of web applications using AJAX.
Based on the used concepts it is possible to extend further test frameworks.
HtmlUnit is a test framework for internet applications. It simulates a web browser and provides many functions to check the content of a web page. HtmlUnit doesn't have a graphical user interface but it is written in the programming language Java. Test cases are written using JUnit tests but like many other test frameworks HtmlUnit has some problems testing AJAX enabled internet applications.

Software testing is a part of the software development process.
It is a challenging task and testing Web-based applications may be even more difficult, due to the peculiarities of such applications. New technologies in internet applications require adaptations of most test frameworks. A very popular technology which is widely used from many well known internet services is called AJAX. AJAX stands for "Asynchronous JavaScript and XML" and is a combination of many known technologies, which allow asynchronous data communication between server and client. In contrast to the standard synchronous data communication, which means loading an entire web page after each request, AJAX allows dynamic refreshes of the web page and data exchange of parts of the page. Thus testing of such internet applications is different from testing of "normal" applications because there can be interactions with the server without the need to load a new page. Communication is done in the background and the current page stays the same except of minor changes.
This paper gives an overview of the basic principles of automated software tests, especially automated testing of web based applications. Furthermore it shows the influence of AJAX concerning web development and testing of web applications. The main issue of this paper is to extend HtmlUnit for test automation of web applications using AJAX.
Based on the used concepts it is possible to extend further test frameworks.
HtmlUnit is a test framework for internet applications. It simulates a web browser and provides many functions to check the content of a web page. HtmlUnit doesn't have a graphical user interface but it is written in the programming language Java. Test cases are written using JUnit tests but like many other test frameworks HtmlUnit has some problems testing AJAX enabled internet applications.
Keywords: Testautomatisierung; AJAX; HtmlUnit; Testen von Internet Applikationen
test automation; AJAX; HtmlUnit; web testing
URI: https://resolver.obvsg.at/urn:nbn:at:at-ubtuw:1-28454
http://hdl.handle.net/20.500.12708/8955
Library ID: AC05040960
Organisation: E183 - Institut für Rechnergestützte Automation 
Publication Type: Thesis
Hochschulschrift
Appears in Collections:Thesis

Files in this item:

Show full item record

Page view(s)

10
checked on Apr 17, 2021

Download(s)

104
checked on Apr 17, 2021

Google ScholarTM

Check


Items in reposiTUm are protected by copyright, with all rights reserved, unless otherwise indicated.