Functional Test Scenario Generation Using UML Activity & Communication Diagrams

Shruthi, Peerila (2017) Functional Test Scenario Generation Using UML Activity & Communication Diagrams. MTech thesis.

[img]PDF (Restricted upto 20/02/2021)
Restricted to Repository staff only

1061Kb

Abstract

Software testing plays an important role in software development life cycle. Unified Modeling Language(UML) is used to visualize the design and structure of object-oriented software. In this thesis, we generate efficient test scenarios using UML activity and communication diagrams. UML models are an important source of information for test scenario design. UML activity diagrams describe the realization of the operation in design phase. However, UML communication diagram models the interactions between objects or parts in terms of sequenced messages. Communication diagrams represent a combination of information taken from Class, Sequence, and Use Case Diagrams describing both the static structure and dynamic behavior of a system. First, we propose a testing methodology to generate test scenarios for object-oriented software based on UML activity diagram. Here, we apply randomized testing for generating test scenarios automatically from UML activity diagrams. In the activity diagram, we select the associated predicates. By using the predicates, we develop the Java source code. We generate the EFSM from activity diagram by using ModelJunit.jar files. The automaticaly generated EFSM is used to generate the test scenarios. Our approach achieves many important coverages like activity coverage, transition coverage, transition pair coverage etc. Next, we proposed another testing methodology to generate test scenarios for object-oriented software using on UML interaction diagrams,i.e communication diagram and sequence diagram. In the interaction diagrams, we select the predicates. By using the predicates, we develop the Java source code. We generate the EFSM from communication diagram and sequence diagram by using ModelJunit.jar files. The automaticaly generated EFSM is used to generate the test scenarios.

Item Type:Thesis (MTech)
Uncontrolled Keywords:Unified Modeling Language; Activity diagram; Communication diagram; Sequence diagram; EFSM; ModelJunit.
Subjects:Engineering and Technology > Computer and Information Science
Divisions: Engineering and Technology > Department of Computer Science Engineering
ID Code:9691
Deposited By:IR Staff BPCL
Deposited On:12 Feb 2019 17:00
Last Modified:12 Feb 2019 17:00
Supervisor(s):Mohapatra, D.P.

Repository Staff Only: item control page