Synthesis of test scenarios using UML activity diagrams

  • Authors:
  • Ashalatha Nayak;Debasis Samanta

  • Affiliations:
  • School of Information Technology, Kharagpur, India;School of Information Technology, Kharagpur, India

  • Venue:
  • Software and Systems Modeling (SoSyM)
  • Year:
  • 2011

Quantified Score

Hi-index 0.01

Visualization

Abstract

Often system developers follow Unified Modeling Language (UML) activity diagrams to depict all possible flows of controls commonly known as scenarios of use cases. Hence, an activity diagram is treated as a useful design artifact to identify all possible scenarios and then check faults in scenarios of a use case. However, identification of all possible scenarios and then testing with activity diagrams is a challenging task because several control flow constructs and their nested combinations make path identification difficult. In this paper, we address this problem and propose an approach to identify all scenarios from activity diagrams and use them to test use cases. The proposed approach is based on the classification of control constructs followed by a transformation approach which takes into account any combination of nested structures and transforms an activity diagram into a model called Intermediate Testable Model (ITM). We use ITM to generate test scenarios. With our approach it is possible to generate more scenarios than the existing work. Further, the proposed approach can be directly carried out using design models without any addition of testability information unlike the existing approaches.