TY  - JOUR
T1  - Automatic Generation and Optimization of Test Cases Using Genetic Algorithm with
UML Diagram
AU - Bala, Anju AU - Singh Chhillar, Rajender 
JO  - Journal of Engineering and Applied Sciences
VL  - 14
IS  - 5
SP  - 1590
EP  - 1600
PY  - 2019
DA  - 2001/08/19
SN  - 1816-949x
DO  - jeasci.2019.1590.1600
UR  - https://makhillpublications.co/view-article.php?doi=jeasci.2019.1590.1600
KW  - Telemedicine diagnosis system
KW  -Genetic algorithm
KW  -use case
KW  -sequence diagram
KW  -activity diagram
KW  -MATLAB
AB  - Selection of test case is a standard testing technique to opt a subset of existing test cases for
execution, due to the limited budget and other necessary constraints. The key objective of this study is
automatic generation and optimization of test cases using bio-inspired Genetic Algorithm (GA). These search
optimization techniques lead to global best solution. These algorithms are used to generate test paths and then
optimize them. The case study on telemedicine simulation system is being presented here using use case
diagrams, activity diagram and sequence diagram. Activity diagram graph and sequence diagram graph show
test paths which are being optimized using Genetic algorithm. This study presents a novel approach for
generation of test cases using UML. Our approach consists of converting the all UML diagrams into graph and
integrated to form System Under Test (SUT). From the graphs different control flow series also called test cases
are recognized and then optimized using Genetic algorithm. The system graph is then traversed to generate test
paths which are being optimized using GA. To explore the efficacy of our approach, we performed an empirical
study using MATLAB programs with manifold paths and other parameters. Our results indicate that generation
and optimization of test case is achieved efficiently in much less time.
ER  - 