• Home
  • Search
  • Automated Test Case Generation from Activity Diagram using Depth-First Search
  • Cite Icon1
  • https://doi.org/10.1109/icodsa58501.2023.10277251Copy DOI Icon

Automated Test Case Generation from Activity Diagram using Depth-First Search

  • Aug 9, 2023
  • Ignasius Teguh Raharjo Rubiyo +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Test cases are essential parts to perform software testing as they play very significant role defining the test steps to work. Test cases can be generated either manually or automatically. Creating test cases manually has several disadvantages, such as higher probability in producing inaccurate results. Furthermore, generating test cases manually is ineffective since manual methods will take longer and require high human efforts. Therefore, generating test cases automatically is more preferable to limit the previous problems. Automated testing can also provide more accurate results than manual testing because it is less prone to human errors encouraging software developers to generate test cases automatically. Test cases can be generated from various sources, including UML diagrams. In this paper, we propose a method to generate test cases automatically by utilising depth-first search algorithms. The UML diagram used in this study is an activity diagram. This paper also provides a method to parse activity diagram that is created using the visual paradigm application that has been converted into an XML format. Our method is able to parse and convert the XML format into graph or tree form. Using our proposed method, a test case search will be carried out using the depth-first search on the tree form to generate test cases. Lastly, we also evaluate our method by comparing the generated test cases with cyclomatic complexity, the method will be performed manually and automatically to validate the results of many scenarios. Our result showed that our method could generate the same scenario (100% coverage) as the manual validation method.

Similar Papers
  • Research Article
  • Citations3

An Empirical Evaluation of Behavioral UML Diagrams Based on the Comprehension of Test Case Generation

  • Oct 01, 2018
  • Advanced Science Letters
  • Nor Laily Hashim +4
  • Conference Article
  • Citations5

Model-Based Test Case Generation Approach for Mobile Applications Load Testing using OCL Enhanced Activity Diagrams

  • Dec 05, 2021
  • Amira Ali +2
  • Book Chapter
  • Citations1

Generating Control Flow Graphs from NATURAL

  • Jul 18, 2017
  • Strauss Cunha Carvalho +3
  • Conference Article
  • Citations2

Cloud-based test modeling and automatic generation of test cases

  • Nov 09, 2020
  • Jing Dai +4
  • Book Chapter
  • Citations1

Test Case Generation Based on Search-Based Testing

  • Oct 31, 2020
  • Rashmi Rekha Sahoo +2
  • Conference Article
  • Citations27

Constructing Test cases using Natural Language Processing

  • Feb 01, 2017
  • Ahlam Ansari +3
  • Conference Article
  • Citations22

Automated generation of test cases from output domain of an embedded system using Genetic algorithms

  • Apr 01, 2011
  • Chandra Prakash Vudatha +4
  • Conference Article
  • Citations19

Automatic test case selection and generation for regression testing of composite service based on extensible BPEL flow graph

  • Sep 01, 2010
  • Bixin Li +3
  • Research Article
  • Citations1

一种基于扩展有限状态机的自动化测试用例生成方法

  • May 01, 2014
  • SCIENTIA SINICA Informationis
  • Zhiyi Zhang +4
  • Research Article

Machine Learning in QA: A Vision for Predictive and Adaptive Software Testing

  • Jul 16, 2021
  • INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
  • Santosh Kumar Jawalkar
  • Conference Article
  • Citations5

Auto-generation and redundancy reduction of test cases for reactive systems

  • Oct 01, 2010
  • Donghuo Chen +2
  • Conference Article
  • Citations3

Android Unit Test Case Generation Based on the Strategy of Multi-Dimensional Coverage

  • Nov 07, 2021
  • Jie Cao +2
  • Research Article
  • Citations1

Test case generation in practice for communicating embedded systems

  • Jun 01, 2011
  • e & i Elektrotechnik und Informationstechnik
  • C Schwarzl +1
  • Conference Article
  • Citations16

Ontology Based Test Case Generation for Black Box Testing

  • Mar 02, 2019
  • Sami Ul Haq +1
  • Research Article

Effective Generation of Test Case Based on Genetic Algorithm

  • Jun 01, 2013
  • Applied Mechanics and Materials
  • Zhi Guo Shi +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.