Abstract
Web applications are everywhere—well tested web applications however are in short supply. The mixture of JavaScript, HTML and CSS in a variety of different browsers makes it virtually impossible to apply static analysis techniques. In this setting, systematic testing becomes a real challenge. We present a technique to automatically generate tests for Web 2.0 applications. Our approach systematically explores and tests all distinct functions of a web application. Our prototype implementation WEBMATE handles interfaces as complex as Facebook and is able to cover up to 7 times as much code as existing tools. The only requirements to use WEBMATE are the address of the application and, if necessary, user name and password.
Keywords
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Artzi, S., et al.: A framework for automated testing of javascript web applications. In: ICSE, pp. 571–580 (2011)
Barnett, M., et al.: The Spec# programming system: Challenges and directions, pp. 144–152 (2008), doi: http://dx.doi.org/10.1007/978-3-540-69149-5_16
Benedikt, M., Freire, J., Godefroid, P.: Veriweb: Automatically testing dynamic web sites. In: Proceedings of 11th International World Wide Web Conference, WWW 2002 (2002)
Choudhary, S.R., Versee, H., Orso, A.: WEBDIFF: Automated identification of cross-browser issues in web applications. In: ICSM, pp. 1–10 (2010)
Ciupa, I., et al.: Experimental assessment of random testing for object-oriented software. In: ISSTA 2007: Proceedings of the 2007 International Symposium on Software Testing and Analysis, pp. 84–94. ACM Press, London (2007), doi: http://doi.acm.org/10.1145/1273463.1273476 , ISBN: 978-1-59593-734-6
Google Code. Selenium, http://code.google.com/p/selenium/
Dallmeier, V., et al.: Webmate: A tool for testing web 2.0 applications. In: JsTools (To appear, 2012)
Fraser, G., Zeller, A.: Generating parameterized unit tests. In: Proceedings of the 2011 International Symposium on Software Testing and Analysis, ISSTA 2011, pp. 364–374. ACM Press, Toronto (2011), http://doi.acm.org/10.1145/2001420.2001464 , doi:10.1145/2001420.2001464, ISBN: 978-1-4503-0562-4
Gross, F., Fraser, G., Zeller, A.: Search-Based System Testing: High Coverage, No False Alarms. In: ISSTA (To appear, 2012)
King, J.C.: Symbolic execution and program testing. Commun. ACM 19(7), 385–394 (1976), doi: http://doi.acm.org/10.1145/360248.360252 , ISSN: 0001-0782
Majumdar, R., Sen, K.: Hybrid Concolic Testing. In: ICSE 2007: Proceedings of the 29th International Conference on Software Engineering, pp. 416–426. IEEE Computer Society, Washington, DC (2007), doi: http://dx.doi.org/10.1109/ICSE.2007.41 , ISBN: 0-7695-2828-7
Mesbah, A., van Deursen, A.: Invariant-based automatic testing of AJAX user interfaces. In: ICSE 2009: Proceedings of the 2009 IEEE 31st International Conference on Software Engineering, pp. 210–220. IEEE Computer Society, Washington, DC (2009), doi: http://dx.doi.org/10.1109/ICSE.2009.5070522 , ISBN: 978-1-4244-3453-4
NetMarketShare: Desktop browser version market share
Sourceforge. Cobertura, http://sourceforge.net
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dallmeier, V., Burger, M., Orth, T., Zeller, A. (2013). WebMate: Generating Test Cases for Web 2.0. In: Winkler, D., Biffl, S., Bergsmann, J. (eds) Software Quality. Increasing Value in Software and Systems Development. SWQD 2013. Lecture Notes in Business Information Processing, vol 133. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35702-2_5
Download citation
DOI: https://doi.org/10.1007/978-3-642-35702-2_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35701-5
Online ISBN: 978-3-642-35702-2
eBook Packages: Computer ScienceComputer Science (R0)