An Automated Test Case Generating Tool Using UML Activity Diagram

  • Abstract
  • Keywords
  • References
  • PDF
  • Abstract

    Software or application testing is a process of executing a program with the goal of finding defect to make better system. In software testing phase, writing test cases is one of the important activities. Manually writing test cases approach is lengthy of time period and need more effort to accomplish the process. On the other hand, automated test case generation technique is the way to solve this issue and model-based test case generation approach would be the appropriate for this automation process. Usually, a model is required in model-based testing approach to generate the test cases and UML activity diagram is the model in our research. In this paper, we explained our proposed model-based test case generating approach and we successfully developed a tool based on our proposed technique that could generate test cases automatically using UML activity diagram as an input. Finally, we conducted an experiment on a real life simple application of a system using the tool and successfully able to show that our tool can produce same test cases as manually writing test cases of the same system but this tool can save a lot of time and effort as well.



  • Keywords

    Model-based testing (MBT); Model transformation; Test automation; Test case generation; UML activity diagram.

  • References

      [1] Vikas suhag and Rajesh Bhatia, “Model based Test Cases Generation for Web Applications,” International Journal of Computer Applications (0975 – 8887) Volume 92 – No.3, April 2014.

      [2] Sagarkumar P. Jain, Khushboo S. Lalwani, Nikita K. Mahajan, and Bhagyashree J. Gadekar Automatic, “Test Case Generation Using Uml Models,” International Journal of Advanced Computational Engineering and Networking, Volume-2, Issue-6, June-2014.

      [3] Syed Asad Ali Shah, Raja Khaim Shahzad, Syed Shafique Ali Bukhari and Mamoona Humayun, “Automated Test Case Generation Using UML Class & Sequence Diagram,” British Journal of Applied Science & Technology, Article no. BJAST. 24860, 15(3): 1-12, 2016.

      [4] Anbunathan R and Anirban Basu, “Executable Test Generation from UML Activity Diagram Using Genetic Algorithm,” IRACST - International Journal of Computer Science and Information Technology & Security (IJCSITS), Vol.7, No.3, May-June 2017.

      [5] Supriya S. Patil and Pramod A Jadhav, “Functional Test Case Generation based on Model Driven Testing using FSM and UML Activity Diagram,” International Journal of Advanced Research in Computer Science, Volume 8, No. 5, May-June 2017.

      [6] Fernando Augusto Diniz Teixeira and Glaucia Bragae Silva, “EasyTest: An approach for automatic test cases generation from UML Activity Diagrams,” in Information Technology: New Generations (ITNG 2017), 14th International Conference on ITNG, 2017.

      [7] Hitesh Kumar Sharma, Sanjeev Kumar Singh and Prashant Ahlawat, “Model-Based Testing: The New Revolution in Software Testing,” Database Systems Journal, vol. 5(1), pages 26-31, May 2014.

      [8] Ikya Jupudy, Neha Saraf, and Prof. Manjula R, “Comparative Analysis of Model Based and Formal Based Software Testing Methods,” International Journal of Advanced Research in Computer Science and Software Engineering, Volume 6, Issue 3, March 2016.

      [9] Elise Greveraars, Atos Origin vision on MBT, “Model Based Testing (White paper).”

      [10] V. Mary Sumalatha and G.S.V.P. Raju, “Model Based Test Case Generation from UML Activity Diagrams,” The International Journal of Computer Science & Applications (TIJCSA), Volume 2, No. 10, December 2013.




Article ID: 23342
DOI: 10.14419/ijet.v7i4.31.23342

Copyright © 2012-2015 Science Publishing Corporation Inc. All rights reserved.