Test case generation from BPMN models for automated testing of Web-based BPM applications

This article proposes an approach to generate test cases from BPMN models, for automated testing of Web applications implemented with the support of BPM suites. The work is primarily focused on functional testing and has the following objectives: (i) identify execution paths from the flow analysis in the BPMN model and (ii) generate the initial code of test scripts to be run on a given Web application testing tool. Throughout the article, we describe the design and implementation of a solution to achieve these goals, targeting automated tests using Selenium and Cucumber as tools. The approach was applied to processes from a public repository and was able to generate test scenarios from different BPMN models.

[1]  Stefanie Rinderle-Ma,et al.  A Genetic Algorithm for Automatic Business Process Test Case Selection , 2015, OTM Conferences.

[2]  Filippo Ricca,et al.  Comparing the maintainability of selenium WebDriver test suites employing different locators: a case study , 2013, JAMAICA 2013.

[3]  Mark von Rosing,et al.  Business Process Model and Notation - BPMN , 2015, The Complete Business Process Handbook, Vol. I.

[4]  Gérard Memmi,et al.  A Model-Based Testing Process for Enhancing Structural Coverage in Functional Testing , 2016, CSDM Asia.

[5]  Taratip Suwannasart,et al.  Design of a tool for generating test cases from BPMN , 2014, 2014 International Conference on Data and Software Engineering (ICODSE).

[6]  Vahid Garousi,et al.  A systematic mapping study of web application testing , 2013, Inf. Softw. Technol..

[7]  Marco Montali,et al.  Compliance monitoring in business processes: Functionalities, application, and tool-support , 2015, Inf. Syst..

[8]  Boudewijn F. van Dongen,et al.  Replaying history on process models for conformance checking and performance analysis , 2012, WIREs Data Mining Knowl. Discov..

[9]  Marc Kellogg,et al.  Automating functional tests using Selenium , 2006, AGILE 2006 (AGILE'06).

[10]  Cem Kaner,et al.  Testing Computer Software, Second Edition , 1993 .

[11]  W.M.P. van der Aalst,et al.  Business Process Management: A Comprehensive Survey , 2013 .

[12]  Sanjai Rayadurgam,et al.  Coverage based test-case generation using model checkers , 2001, Proceedings. Eighth Annual IEEE International Conference and Workshop On the Engineering of Computer-Based Systems-ECBS 2001.

[13]  Daniel Sundmark,et al.  Impediments for Automated Testing -- An Empirical Analysis of a User Support Discussion Board , 2014, 2014 IEEE Seventh International Conference on Software Testing, Verification and Validation.

[14]  James M. Bieman,et al.  Software reliability growth with test coverage , 2002, IEEE Trans. Reliab..

[15]  Kai Petersen,et al.  Benefits and limitations of automated software testing: Systematic literature review and practitioner survey , 2012, 2012 7th International Workshop on Automation of Software Test (AST).

[16]  Mathias Weske,et al.  Business Process Management: Concepts, Languages, Architectures , 2007 .