Advertisement

An approach for dynamic web application testing using MBT

  • Vikas PanthiEmail author
  • Durga Prasad Mohapatra
Original Article
  • 188 Downloads

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.

Keywords

Test scenarios Dynamic web application Model based testing (MBT) Dynamic web application testing Implicit class object 

Notes

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.

References

  1. Achkar H (2010) Model based testing of web applications. STANZ-2010, Sydney, Australia, 26-27 August 2010.Google Scholar
  2. 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 488493Google Scholar
  3. 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–976CrossRefGoogle Scholar
  4. 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–762CrossRefGoogle Scholar
  5. 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–12Google Scholar
  6. Banerjee I, Nguyen B, Garousi V, Memon A (2013) Graphical user interface (gui) testing: systematic mapping and repository. Inf Softw Technol 55(10):1679–1694CrossRefGoogle Scholar
  7. 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–485Google Scholar
  8. 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–15Google Scholar
  9. Booch G, Jacobson I (2005) The unified modeling language user guide, 3rd edn. Pearson Education India, NoidaGoogle Scholar
  10. Conallen J (2002) Building web applications with UML, 2nd edn. Addison-Wesley Publishing Company, BostonzbMATHGoogle Scholar
  11. 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–43Google Scholar
  12. Engström E, Runeson P (2011) Software product line testing-a systematic mapping study. Inf Softw Technol 53(1):2–13CrossRefGoogle Scholar
  13. Engström E, Runeson P, Skoglund M (2010) A systematic review on regression test selection techniques. Inf Softw Technol 52(1):14–30CrossRefGoogle Scholar
  14. 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–282CrossRefGoogle Scholar
  15. Grindal M, Offutt J, Andler SF (2005) Combination testing strategies: a survey. Softw Test Verif Reliab 15(3):167–199CrossRefGoogle Scholar
  16. 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–353Google Scholar
  17. Hall M, Brown L (2008) Core servlets and JavaServer pages, 2nd edn. Pearson Education, NoidaGoogle Scholar
  18. Jia Y, Harman M (2011) An analysis and survey of the development of mutation testing. IEEE Trans Softw Eng 37(5):649–678CrossRefGoogle Scholar
  19. 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–313Google Scholar
  20. 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–120Google Scholar
  21. 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–401Google Scholar
  22. 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–119Google Scholar
  23. 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–162CrossRefGoogle Scholar
  24. Monsma JR (2015). Model based testing of web applications (Mater Thesis Computer Science). Radboud University, Nijmegen, NetherlandsGoogle Scholar
  25. 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–423CrossRefGoogle Scholar
  26. Ricca F, Tonella P (2000) Web site analysis: structure and evolution. In: IEEE international conference on software maintenance, ICSM2000, pp 76–86Google Scholar
  27. Ricca F, Tonella P (2001) Analysis and testing of web applications. In: 23rd international conference on software engineering, IEEE Computer Society, pp 25–34Google Scholar
  28. Samuel P, Mall R, Kanth P (2007) Automatic test case generation from UML communication diagrams. Inf Softw Technol 49(2):158–171CrossRefGoogle Scholar
  29. 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–142Google Scholar

Copyright information

© The Society for Reliability Engineering, Quality and Operations Management (SREQOM), India and The Division of Operation and Maintenance, Lulea University of Technology, Sweden 2017

Authors and Affiliations

  1. 1.Department of Computer Science and EngineeringNational Institute of TechnologyRourkelaIndia

Personalised recommendations