Abstract
Nowadays, web applications play a significant role in the success of the business. Web applications have grown very fast in the current market. They bring new challenges for the researchers in the area of testing, such as heterogeneous representation, dynamic behavior, data flow mechanism, control flow mechanism and some more issues relevant to web applications. This paper presents an approach for model-based dynamic web application testing. This approach considers server side scripting language to test the functional requirements of the web applications. In this approach, first the implicit class object tags are extracted from JSP pages, and the JSP Flow Graph (JFG) is constructed for tracing the requirements using the proposed algorithm JTSG. Then, the test scenarios and concrete test cases are generated for the given web application.
Similar content being viewed by others
References
Achkar H (2010) Model based testing of web applications. STANZ-2010, Sydney, Australia, 26-27 August 2010.
Afzal W, Torkar R, Feldt R (2008) A systematic mapping study on non-functional search-based software testing. In: International conference on software engineering and knowledge engineering, SEKE. p 488493
Afzal W, Torkar R, Feldt R (2009) A systematic review of search-based testing for non-functional system properties. Inf Softw Technol Elsevier 51(6):957–976
Ali S, Briand LC, Hemmati H, Panesar-Walawege RK (2010) A systematic review of the application and empirical investigation of search-based test case generation. IEEE Trans Softw Eng 36(6):742–762
Alshahwan N, Harman M (2011) Automated web application testing using search based software engineering. In: 26th international conference on automated software engineering, IEEE Computer Society, pp 3–12
Banerjee I, Nguyen B, Garousi V, Memon A (2013) Graphical user interface (gui) testing: systematic mapping and repository. Inf Softw Technol 55(10):1679–1694
Barmi ZA, Ebrahimi AH, Feldt R (2011) Alignment of requirements specification and testing: a systematic mapping study. In: IEEE fourth international conference on software testing, verification and validation workshops (ICSTW), pp 476–485
Boni G, Juan CD, Hugo APG (2009) Automatic functional and structural test case generation for web applications based on agile frameworks. In: IEEE 5th international workshop on automated specification and verification of web systems, pp 1–15
Booch G, Jacobson I (2005) The unified modeling language user guide, 3rd edn. Pearson Education India, Noida
Conallen J (2002) Building web applications with UML, 2nd edn. Addison-Wesley Publishing Company, Boston
Dai Z, Chen M-H (2008) Automatic test case generation for multi-tier web applications. In: 9th IEEE international workshop on web site evolution (WSE 2007), pp 39–43
Engström E, Runeson P (2011) Software product line testing-a systematic mapping study. Inf Softw Technol 53(1):2–13
Engström E, Runeson P, Skoglund M (2010) A systematic review on regression test selection techniques. Inf Softw Technol 52(1):14–30
Fujiwara S, Munakata K, Maeda Y, Katayama A, Uehara T (2011) Test data generation for web application using a uml class diagram with ocl constraints. Innov Syst Softw Eng Springer 7(4):275–282
Grindal M, Offutt J, Andler SF (2005) Combination testing strategies: a survey. Softw Test Verif Reliab 15(3):167–199
Hajiabadi H, Kahani M (2011) An automated model based approach to test web application using ontology. In: IEEE conference on open systems (ICOS), pp 348–353
Hall M, Brown L (2008) Core servlets and JavaServer pages, 2nd edn. Pearson Education, Noida
Jia Y, Harman M (2011) An analysis and survey of the development of mutation testing. IEEE Trans Softw Eng 37(5):649–678
Kanjilal A, Bhattacharya S (2004) Static analysis of object oriented systems using extended control flow graph. In: 10th IEEE region conference TENCON, IEEE Computer Society, pp 310–313
Kung DC, Liu C-H, Hsia P (2000) An object-oriented web test model for testing web applications. In: First Asia-Pacific conference on quality software, IEEE Computer Society, pp 111–120
Li L, Miao H, Qian Z (2008) A uml-based approach to testing web applications. In: International symposium on computer science and computational technology (ISCSCT’08), IEEE Computer Society, pp 397–401
Liu C-H (2004) Data flow analysis and testing of java server pages. In: 28th Annual international computer software and applications conference, IEEE Computer Society, pp 114–119
Memon AM, Nguyen BN (2010) Advances in automated model-based system testing of software applications with a gui front-end. Adv Comput 80(5):121–162
Monsma JR (2015). Model based testing of web applications (Mater Thesis Computer Science). Radboud University, Nijmegen, Netherlands
Neto PADMS, do Carmo Machado I, McGregor JD, De Almeida ES, de Lemos Meira SR (2011) A systematic mapping study of software product lines testing. Inf Softw Technol 53(5):407–423
Ricca F, Tonella P (2000) Web site analysis: structure and evolution. In: IEEE international conference on software maintenance, ICSM2000, pp 76–86
Ricca F, Tonella P (2001) Analysis and testing of web applications. In: 23rd international conference on software engineering, IEEE Computer Society, pp 25–34
Samuel P, Mall R, Kanth P (2007) Automatic test case generation from UML communication diagrams. Inf Softw Technol 49(2):158–171
Törsel A-M (2011) Automated test case generation for web applications from a domain specific model. In: 35th annual computer software and applications conference workshops (COMPSACW), IEEE Computer Society, pp 137–142
Acknowledgements
This work is supported by a Grant No. SR/FST/ETI-359/2014(C) for the FIST-2014, from Department of Science and Technology (DST), Goverment of India. Carried out by Department of Computer Science & Engineering, National Institute of Technology, Rourkela, Odisha, India.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Panthi, V., Mohapatra, D.P. An approach for dynamic web application testing using MBT. Int J Syst Assur Eng Manag 8 (Suppl 2), 1704–1716 (2017). https://doi.org/10.1007/s13198-017-0646-0
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13198-017-0646-0