Development of Functional Test Cases Using FSM and UML Activity Diagrams for MDT

Authors

  • Vinod H. Patil Department of E&TC Engineering, Bharati Vidyapeeth (Deemed to be University) College of Engineering, Pune
  • A. Deepak Saveetha School of Engineering, Saveetha Institute of Medical and Technical Sciences, Saveetha University, Chennai, Tamilnadu
  • Himanshu Sharma Associate Professor, Department of Computer Engineering and Applications, GLA University, Mathura
  • Lavanaya Vaishnavi D. A. Assistant Professor, Dept of ECE., R L JALAPPA INSTITUTE OF TECHNOLOGY, DODDABALLAPUR, KARNATAKA
  • Upendra Singh Aswal Associate Professor, Department of Computer Science and Engineering, Graphic Era Deemed to be University, Dehradun, Uttarakhand
  • K. K. Bajaj RNB Global University, Bikaner
  • Anurag Shrivastava Saveetha School of Engineering, Saveetha Institute of Medical and Technical Sciences, Chennai, Tamilnadu

Keywords:

Extended File System, Model-Driven Testing, Finite State Machine, Coverage of paths and conditions, Activity Diagram

Abstract

This study's testing of The SDLC's software phase is crucial. This stage does more than only evaluate the software's quality. Model-driven testing and code-driven testing are the two categories that make up this testing procedure. Code-driven testing is based on testing the entire program, line by line. A control flow and data flow that is sequential drives code-driven testing. The model-driven testing method focuses on the executable module rather than each line of code since it supports third-party modules, APIs, and components. One need not be an expert in every field because the tester will focus on how well each component works individually. The combination of an extended finite state machine with a sequence diagram is covered in this essay. One of the most important areas that must be effectively handled to provide effective testing of the given project is model-driven testing. The system that has been implemented combines UML with FSM to cover every situation and all potential outcomes. This situation inspires us to establish a framework for generating test cases automatically, covering every potential pathway (leveraging UML activity diagrams to account for all pathways) and situations (utilizing Finite State Machine to describe various scenarios). The Finite Machine also operates based on triggers, where scenarios are established, and if these criteria are met, the subsequent action is carried out. Model-driven testing is created by considering all scenarios, pathways, and situations.

Downloads

Download data is not yet available.

References

A. Bandyopadhyay and S. Ghosh, "Test Input Generation Using UML Sequence and State Machines Models," 2009 International Conference on Software Testing Verification and Validation, Denver, CO, USA, 2009, pp. 121-130, doi: 10.1109/ICST.2009.23.

Vikas Panthi, Durga Prasad Mohapatra, “Automatic Test Case Generation using Sequence Diagram”, International Journal of Applied Information Systems (IJAIS) – ISSN: 2249-0868 Foundation of Computer Science FCS, New York, USA Volume 2– No.4, May 2012 – www.ijais.org

Md Azaharuddin Ali et al. “Test Case Generation using UML State Diagram and OCL Expression”, International Journal of Computer Applications (0975 – 8887) Volume 95– No. 12, June 2014

S. ShanmugaPriya et.al, “ Test Path Generation Using UML Sequence Diagram”, Volume 3, Issue 4, April 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering

Ching-Seh Wu, Chi-Hsin Huang," The Web Services Composition Testing Driven on Extended Finite State Machine and UML Model", 2013 Fifth International Conference on Service Science and Innovation.

M. Benjamin, D. Geist, A. Hartman, Y. Wolfsthal, G. Mas and R. Smeets, "A study in coverage-driven test generation", In Proc. of the 36th Conference on Design Automation Conference, pp. 970-975, 1999.

M. Born, I. Schieferdecker, H.-G. Gross, and P. Santos. “Model-Driven Development and Testing – A Case Study”. In Proc. of the 1st European Workshop on Model Driven Architecture with Emphasis on Industrial Application, pp. 97-104, 2004

C. Crichton, A. Cavarra, and J. Davies, “Using UML for Automatic Test Generation”, In Proc. of the Automation of Software Testing, 2007.

S. R. Ganov, C. Killmar, S. Khurshid, and D. E. Perry. “Test Generation for Graphical User Interfaces Driven on Symbolic Execution”. In Proc. Proc. of the 3rd International Workshop on Automation of Software Test, pp. 33-40, 2008.

H. Garavel, F. Lang, R. Mateescu, and W. Serwe, "CADP 2006: A Toolbox for the Construction and Analysis of Distributed Processes", In Proc. of the 19th International Conference on Computer Aided Verification, pp. 158-163, 2007.

J. R. Calame, “Specification-Driven Test Generation with TGV”, Technical Report SEN-R0508, Centrum voor WiskundeenInformatica, 2005.

Benjamin, M., D. Geist, A. Hartman, Y. Wolfsthal, G. Mas and R. Smeets, "A study in coverage-driven test generation", In Proc. of the 36th Conference on Design Automation Conference, pp. 970-975, 1999.

Born, M., I. Schieferdecker, H.-G. Gross, and P. Santos. “Model-Driven Development and Testing – A Case Study”. In Proc. of the 1st European Workshop on Model Driven Architecture with Emphasis on Industrial Application, pp. 97-104, 2004

Bouquet, F., C. Grandpierre, B. Legeard, and F. Peureux, ”A Test Generation Solution to Automate Software Testing”, In Proc. of the 3rd international workshop on Automation of software test, pp. 45-48, 2008. 51828

Bouquet, F., C. Grandpierre, B. Legeard, F. Peureux, N. Vacelet, and M. Utting, “A subset of precise UML for Model-based Testing”, In Proc. of the 3rd International Workshop Advances in Model Based Testing (AMOST), pp. 95-104, 2007. Calame, J. R. 2005.

The Web Services Composition Testing Based on Extended Finite State Machine and UML Model", 2013 Fifth International Conference on Service Science and Innovation Crichton, C., A. Cavarra, and J. Davies,

“Using UML for Automatic Test Generation”, In Proc. of the Automation of Software Testing, 2007. Farooq, Q., M. Z. Z. Iqbal, Z. I. Malik and A. Nadeem,

Garavel, H., F. Lang, R. Mateescu, and W. Serwe, "CADP 2006: A Toolbox for the Construction and Analysis of Distributed Processes", In Proc. of the 19th International Conference on Computer Aided Verification, pp. 158-163, 2007.

MdAzaharuddin Ali et al. “Test Case Generation using UML State Diagram and OCL Expression”, International Journal of Computer Applications (0975 – 8887) Volume 95– No. 12, June 2014

ShanmugaPriya S. et al, “ Test Path Generation Using UML Sequence Diagram”, Volume 3, Issue 4, April 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering

VikasPanthi, Durga Prasad Mohapatra, 2012. “Automatic Test Case Generation using Sequence Diagram”, International Journal of Applied Information Systems (IJAIS) – ISSN: 2249-0868 Foundation of Computer Science FCS, New York, USA Volume 2– No.4, www.ijais.org.

P. Mohagheghi, W. Gilani, A. Stefanescu, M. Fernandez, An empirical study of the state of the practice and acceptance of model-based engineering in four industrial cases, Empirical Software Engineering (2012) 1–28.

Asaithambi SPR, Jarzabek S. Pragmatic Approach to Test Case Reuse-A Case Study in Android OS BiDiTests Library. Software Reuse for Dynamic Systems in the Cloud and Beyond. Springer; 2014. p.122–38.

Ke Z, Bo J, Chan WK. Prioritizing Test Cases for Regression Testing of Location-Based Services: Metrics, Techniques, and Case Study. IEEE Transactions on Services Computing.. 2014; 7(1):54–67.

Papadakis M, Malevris N. Mutation-based test case generation via a path selection strategy. Information and Software Technology. 2012; 54(9):915–32.

Zhang C, Groce A, Alipour MA, editors. Using test case reduction and prioritization to improve symbolic execution. Proceedings of the 2014 International Symposium on Software Testing and Analysis. ACM; 2014.

Mondal SK, Tahbildar H. Regression Test Cases Minimization for Object Oriented Programming using New Optimal Page Replacement Algorithm. International Journal of Software Engineering and Its Applications. 2014; 8(6):253–64

Zhang W, Zhao D. Reuse-Oriented Test Case Management Framework. International Conference on Computer Sciences and Applications (CSA).IEEE; 2013.

Asaithambi S, Jarzabek S. Towards Test Case Reuse: A Study of Redundancies in Android Platform Test Libraries, Berlin Heidelberg. Springer; 2013. p. 49–64.

Fowler M. Refactoring: Improving the design of existing code. India: Pearson Education; 1999.

Lashari SA, Ibrahim R, Senan N. Fuzzy Soft Set based Classification for Mammogram Images. International Journal of Computer Information Systems and Industrial Management Applications. 2015; 7:66–73.

Ahmed M, Ibrahim R, Ibrahim N. An Adaptation Model for Android Application Testing with Refactoring. Growth. 2015; 9(10):65–74.

Fowler M. Refactoring: Improving the Design of Existing Code. 1997. Available from: http://www.martinfowler.com/ books/refactoring.html.

Al Dallal J. Identifying refactoring opportunities in object-oriented code: A systematic literature review. Information and Software Technology. 2015; 58:231–49.

Jena SKSAK, Mohapatra DP. A Novel Approach for Test Case Generation from UML Activity Diagram. 2014.

Ibrahim R, Saringat MZ, Ibrahim N, Ismail N. An Automatic Tool for Generating Test Cases from the System’s Requirements. 2007;861–6.

Nguyen CD, Marchetto A, Tonella P, editors. Combining model-based and combinatorial testing for effective test case generation. Proceedings of the 2012 International Symposium on Software Testing and Analysis, ACM; 2012.

Swain R, Panthi V, Behera PK, Mohapatra DP. Automatic test case generation from UML state chart diagram. International Journal of Computer Applications. 2012; 42(7):26–36.

Khan SUR, Lee SP, Ahmad RW, Akhunzada A, Chang V. A Survey on Test Suite Reduction Frameworks and Tools. International Journal of Information Management. 2016; 36(6): Part A, 963–75.

Shrivastava, A., Chakkaravarthy, M., Shah, M.A..A Novel Approach Using Learning Algorithm for Parkinson’s Disease Detection with Handwritten Sketches. In Cybernetics and Systems, 2022

Shrivastava, A., Chakkaravarthy, M., Shah, M.A., A new machine learning method for predicting systolic and diastolic blood pressure using clinical characteristics. In Healthcare Analytics, 2023, 4, 100219

Shrivastava, A., Chakkaravarthy, M., Shah, M.A.,Health Monitoring based Cognitive IoT using Fast Machine Learning Technique. In International Journal of Intelligent Systems and Applications in Engineering, 2023, 11(6s), pp. 720–729

Shrivastava, A., Rajput, N., Rajesh, P., Swarnalatha, S.R., IoT-Based Label Distribution Learning Mechanism for Autism Spectrum Disorder for Healthcare Application. In Practical Artificial Intelligence for Internet of Medical Things: Emerging Trends, Issues, and Challenges, 2023, pp. 305–321

Boina, R., Ganage, D., Chincholkar, Y.D., .Chinthamu, N., Shrivastava, A., Enhancing Intelligence Diagnostic Accuracy Based on Machine Learning Disease Classification. In International Journal of Intelligent Systems and Applications in Engineering, 2023, 11(6s), pp. 765–774

Shrivastava, A., Pundir, S., Sharma, A., ...Kumar, R., Khan, A.K. Control of A Virtual System with Hand Gestures. In Proceedings - 2023 3rd International Conference on Pervasive Computing and Social Networking, ICPCSN 2023, 2023, pp. 1716–1721

Rieger M, Van Rompaey B, Du Bois B, Meijfroidt K, Olivier P. Refactoring for performance: An experience report. Proc. Software Evolution. 2007; 2(9):1–9.

Yoshioka N, Washizaki H, Maruyama K. A survey on security patterns. Progress in informatics. 2008; 5(5):35–47.

Garrido A, Rossi G, Distante D. Refactoring for usability in web applications. IEEE Software. 2011; 28(3):60.

Al Dallal J. Constructing models for predicting extract subclass refactoring opportunities using object-oriented quality metrics. Information and Software Technology. 2012; 54(10):1125–41.

Bavota G, De Lucia A, Marcus A, Oliveto R. Automating extract class refactoring: an improved method and its evaluation. Empirical Software Engineering. 2014; 19(6):1617–64.

Palomba F, Bavota G, Oliveto R, De Lucia A. Anti-Pattern Detection: Methods, Challenges, and Open Issues. Advances in Computers. 2014; 95:201–38.

Silva D, Terra R, Valente MT. JExtract: An Eclipse Plug-in for Recommending Automated Extract Method Refactorings. Federal University of Minas Gerais: Brazil. 2014, pp.1-8.

Fokaefs M, Tsantalis N, Stroulia E, Chatzigeorgiou A. JDeodorant: Identification and application of extract class refactorings. Proceedings of the 33rd International Conference on Software Engineering, Waikiki, Honolulu, HI, USA.ACM; 2011. p. 1037–9.

Yoo S, Harman M. Pareto efficient multi-objective test case selection. Proceedings of the 2007 International Symposium on Software Testing and Analysis, London, United Kingdom. ACM; 2007. P. 140–50.

S. Mohite, R. Phalnikar, M. Joshi, S. D. Joshi, and S. Jadhav, "Requirement and interaction analysis using aspect-oriented modelling," 2014 IEEE International Advance Computing Conference (IACC), 2014, pp. 1448-1453, doi: 10.1109/IAdCC.2014.6779539.

S. Jadhav, S. B. Vanjale and P. B. Mane, "Illegal Access Point detection using clock skews method in wireless LAN," 2014 International Conference on Computing for Sustainable Global Development (INDIACom), 2014, pp. 724-729, doi: 10.1109/IndiaCom.2014.6828057.

S. Mohite, A. Sarda and S. D. Joshi, "Analysis of System Requirements by Aspects-J Methodology," 2021 International Conference on Computing, Communication and Green Engineering (CCGE), 2021, pp. 1-6, doi: 10.1109/CCGE50943.2021.9776384.

Mohite, S., Phalnikar, R., Joshi, S.D.,” Requirement and interaction analysis using aspect-oriented modelling”, New Trends in Networking, Computing, E-learning, Systems Sciences, and Engineering. Lecture Notes in Electrical Engineering, Vol 312. Springer, 2015, Cham. https://doi.org/10.1007/978-3-319-06764-3_54

P. A. Jadhav, C. Vinotha, S. K. Gupta, B. Dhyani, V. H. Patil, and R. Kumar, "Asset Class Market Investment Portfolio Analysis and Tracking," 2022 5th International Conference on Contemporary Computing and Informatics (IC3I), Uttar Pradesh, India, 2022, pp. 973-981, doi: 10.1109/IC3I56241.2022.10072525.

Patil, V., Kadam, P., Jadhav, P., & Kadam, A. (2022). Intelligent Agricultural System Based on IoT and Machine Learning. Available at SSRN 4203128.

Suryawanshi, P. K., Kadam, A. K., Dhotre, P. S. S., & Jadhav, P. A. (2021). A Novel Approach for Women Security with Information Fusion for Multi-Sensory Data. Turkish Online Journal of Qualitative Inquiry, 12(8).

Dr Vinod H Patil, Dr Anurag Shrivastava, Devvret Verma, Dr A L N Rao, Prateek Chaturvedi, Shaik Vaseem Akram, “Smart Agricultural System Based on Machine Learning and IoT Algorithm”, 2nd International Conference on Technological Advancements in Computational Sciences (ICTACS), 2022. DOI: DOI: 10.1109/ICTACS56270.2022.9988530.

Dr Vinod H Patil, Dr Pramod A. Jadhav, Dr C. Vinotha, Dr Sushil Kumar Gupta, Bijesh Dhyani, Rohit Kumar,” Asset Class Market Investment Portfolio Analysis and Tracking”, 5th International Conference on Contemporary Computing and Informatics (IC3I), December 2022. DOI: 10.1109/IC3I56241.2022.10072525.

Dr. Vinod H Patil, Prasad Kadam, Sudhir Bussa, Dr. Narendra Singh Bohra, Dr. ALN Rao, Professor, Kamepalli Dharani,” Wireless Communication in Smart Grid using LoRa Technology”, 5th International Conference on Contemporary Computing and Informatics (IC3I), December 2022, DOI: 10.1109/IC3I56241.2022.10073338

Vinod H. Patil, Dr. Shruti Oza, Vishal Sharma, Asritha Siripurapu, Tejaswini Patil, “A Testbed Design of Spectrum Management in Cognitive Radio Network using NI USRP and LabVIEW”, International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-8 Issue-2S8, August 2019.

Vinod H. Patil, Shruti Oza, “Green Communication for Power Distribution Smart Grid”, International Journal of Recent Technology and Engineering™ (IJRTE), ISSN:2277-3878(Online), Reg. No.: C/819981, Volume-8, Issue-1, Page No. 1035-1039, May-19.

Patil, V.H., Oza, S., Sharma, V., Siripurapu, A., Patil, T.,” A testbed design of spectrum management in cognitive radio network using NI USRP and LabVIEW”, International Journal of Innovative Technology and Exploring Engineering, 2019, 8(9 Special Issue 2), pp. 257–262.

S. Bussa, A. Bodhankar, V. H. Patil, H. . Pal, S. K. . Bunkar, and A. R. . Khan Qureshi, “An Implementation of Machine Learning Algorithm for Fake News Detection”, International Journal on Recent and Innovation Trends in Computing and Communication, ISSN: 2321-8169, Volume: 11 Issue: 9s, pp. 392–401, Aug. 2023. DOI: https://doi.org/10.17762/ijritcc.v11i9s.7435

Kadam, A. K., Krishna, K. H., Varshney, N., Deepak, A., Pokhariya, H. S., Hegde, S. K., & Patil, V. H., “Design of Software Reliability Growth Model for Improving Accuracy in the Software Development Life Cycle (SDLC)”, International Journal of Intelligent Systems and Applications in Engineering, vol. 12, Issue No. 1s, pp. 38–50, Sep. 2023. https://ijisae.org/index.php/IJISAE/article/view/3393

Downloads

Published

02.02.2024

How to Cite

Patil, V. H. ., Deepak, A. ., Sharma, H. ., Vaishnavi D. A., L. ., Singh Aswal, U. ., Bajaj, K. K. ., & Shrivastava, A. . (2024). Development of Functional Test Cases Using FSM and UML Activity Diagrams for MDT. International Journal of Intelligent Systems and Applications in Engineering, 12(14s), 12–21. Retrieved from https://ijisae.org/index.php/IJISAE/article/view/4576

Issue

Section

Research Article

Most read articles by the same author(s)

1 2 3 4 5 6 > >>