Abstract
Despite their apparent simplicity, Web applications are surprisingly difficult to develop, if our aim is to build applications that behave correctly under regular conditions as well as adverse circumstances like out-of-order requests and race conditions. In this paper, we describe our experiences deriving customer-oriented acceptance tests for Web applications by modeling the essential capabilities of such applications with Use Case Maps (UCMs). Abstract test purposes are generated from a UCM model using scenario definitions and scenario extraction tools. These test purposes are then converted interactively to test cases in the FitNesse acceptance testing framework, which is popular in the Extreme Programming (XP) community. The test cases are used to validate a Web application where several typical but non-trivial bugs were planted. Challenges in the automation of the process are also discussed.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Amyot, D.: Introduction to the User Requirements Notation: Learning by Example. Computer Networks 42(3), 285–301 (2003)
Amyot, D., Cho, D.Y., He, X., He, Y.: Generating Scenarios from Use Case Map Specifications. In: Third Int. Conf. on Quality Software (QSIC 2003), Dallas, USA, pp. 108–115 (November 2003)
Amyot, D., Logrippo, L., Weiss, M.: UCM-Based Generation of Test Purposes. To appear in Computer Networks (2005)
Beck, K.: Test-Driven Development By Example. Addison-Wesley, Reading (2004)
Binder, R.: Testing Object-Oriented Systems: Models, Patterns, and Tools. Addison-Wesley, Reading (2000)
Buhr, R.J.A., Casselman, R.S.: Use Case Maps for Object-Oriented Systems. Prentice Hall, Englewood Cliffs (1996), http://www.usecasemaps.org/pub/UCM_book95.pdf
Burke, E.: Java and XSLT: Embedding XML Processing into Java Applications. O’Reilly, Sebastopol (2001)
Di Lucca, G., Fasolino, A., Faralli, F., de Carlini, U.: Testing Web Applications. In: 18th Int. Conf. on Software Maintenance (ICSM), pp. 310–309 (2002)
Di Lucca, G., Di Penta, M.: Considering Browser Interaction in Web Application Testing. In: 5th Int. Work. on Web Site Evolution, pp. 74–81 (2003)
Gordijn, J., Akkermans, H.: Designing and Evaluating E-Business Models. IEEE Software, 11–17 (July/August, 2001)
Hieatt, E., Mee, R.: Going Faster: Testing the Web Application. IEEE Software, 60–65 (March/April, 2002)
ITU-T – International Telecommunications Union: Recommendation Z.120 (04/04) Message Sequence Chart (MSC). Geneva, Switzerland (2004)
ITU-T – International Telecommunications Union: Recommendation Z.150 (02/03), User Requirements Notation (URN) – Language Requirements and Framework. Geneva, Switzerland (2003
Jacques, R.: Web Applications Wide Open to Hackers. vnunet.com news, February 5 (2004), http://www.vnunet.com/News/1152521
jWebUnit, http://jwebunit.sourceforge.net
Kaewkasi, C., Rivepiboon, W.: WWM: A Practical Methodology for Web Application Modeling. In: 26th Int. Computer Software and Applications Conf (COMPSAC), pp. 603–609 (2002)
Kung, D., Liu, C., Hsia, P.: An Object-Oriented Web Test Model for Testing Web Applications. In: 24th Int. Computer Software and Application Conf. (COMPSAC), pp. 537–542 (2000)
Martin, R., Martin, M.: FitNesse Web Site, http://www.fitnesse.org
Probert, R.L., Xiong, P., Stepien, B.: Life-Cycle E-commerce Testing with OO-TTCN-3. In: Núñez, M., Maamar, Z., Pelayo, F.L., Pousttchi, K., Rubio, F. (eds.) FORTE 2004. LNCS, vol. 3236, pp. 16–29. Springer, Heidelberg (2004)
Tomcat, http://jakarta.apache.org/tomcat
UCM User Group: UCMNav 2, http://www.usecasemaps.org/tools/ucmnav/
URN: Focus Group: Draft Rec. Z.152 – Use Case Map Notation (UCM). Geneva, Switzerland (September 2003), http://www.UseCaseMaps.org/urn/
Weiss, M., Amyot, D.: Business Process Modeling with URN. International Journal of E-Business Research 1(3), 63–90 (2005)
Wittevrongel, J., Maurer, F.: SCENTOR: Scenario-Based Testing of E-Business Applications. In: Int. Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises, pp. 41–46 (2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Amyot, D., Roy, JF., Weiss, M. (2005). UCM-Driven Testing of Web Applications. In: Prinz, A., Reed, R., Reed, J. (eds) SDL 2005: Model Driven. SDL 2005. Lecture Notes in Computer Science, vol 3530. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11506843_18
Download citation
DOI: https://doi.org/10.1007/11506843_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-26612-9
Online ISBN: 978-3-540-31539-1
eBook Packages: Computer ScienceComputer Science (R0)