Volume 11 Number 3 (Mar. 2016)
Home > Archive > 2016 > Volume 11 Number 3 (Mar. 2016) >
JSW 2016 Vol.11(3): 242-250 ISSN: 1796-217X
doi: 10.17706/jsw.11.3.242-250

A Novel Technique for Generation and Optimization of Test Cases Using Use Case, Sequence, Activity Diagram and Genetic Algorithm

Namita Khurana1, Rajender Singh Chhillar1*, Usha Chhillar2

1Department of Computer Science and Applications, M.D.U, Rohtak, Haryana, India.
2Department f Computer Science All India Jat P. G. College, Rohtak, Haryana, India.

Abstract—This paper presents a novel approach for generation of test cases from UML design diagrams. In this new generation scheme, we have considered use case diagram, activity diagram and sequence diagram. Our approach consists of converting the use case diagram into use case diagram graph (UDG), activity dia-gram into activity diagram graph (ADG) and sequence diagram into sequence diagram graph (SDG). After that three graphs UDG, ADG and SDG are integrated to form System Graph (SYTG). The System Graph is then traversed to generate test cases also optimized using Genetic Algorithm. The generated test cases are suita-ble to detect maximum number of faults like use case dependency, interaction, scenario, pre-post condition faults and error handling.

Index Terms—Activity diagram, genetic algorithm, online examination system, sequence diagram, system test-ing graph, use case diagram.

[PDF]

Cite: Namita Khurana, Rajender Singh Chhillar, Usha Chhillar, "A Novel Technique for Generation and Optimization of Test Cases Using Use Case, Sequence, Activity Diagram and Genetic Algorithm," Journal of Software vol. 11, no. 3, pp. 242-250, 2016.

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]