Research Article

Test Case Generation from UML Sequence Diagram for Aadhaar Card Number based ATM System

by  Wasiur Rhmann, Vipin Saxena
journal cover
International Journal of Applied Information Systems
Foundation of Computer Science (FCS), NY, USA
Volume 11 - Issue 4
Published: Sep 2016
Authors: Wasiur Rhmann, Vipin Saxena
10.5120/ijais2016451599
PDF

Wasiur Rhmann, Vipin Saxena . Test Case Generation from UML Sequence Diagram for Aadhaar Card Number based ATM System. International Journal of Applied Information Systems. 11, 4 (Sep 2016), 37-43. DOI=10.5120/ijais2016451599

                        @article{ 10.5120/ijais2016451599,
                        author  = { Wasiur Rhmann,Vipin Saxena },
                        title   = { Test Case Generation from UML Sequence Diagram for Aadhaar Card Number based ATM System },
                        journal = { International Journal of Applied Information Systems },
                        year    = { 2016 },
                        volume  = { 11 },
                        number  = { 4 },
                        pages   = { 37-43 },
                        doi     = { 10.5120/ijais2016451599 },
                        publisher = { Foundation of Computer Science (FCS), NY, USA }
                        }
                        %0 Journal Article
                        %D 2016
                        %A Wasiur Rhmann
                        %A Vipin Saxena
                        %T Test Case Generation from UML Sequence Diagram for Aadhaar Card Number based ATM System%T 
                        %J International Journal of Applied Information Systems
                        %V 11
                        %N 4
                        %P 37-43
                        %R 10.5120/ijais2016451599
                        %I Foundation of Computer Science (FCS), NY, USA
Abstract

Software testing plays an important role to uncover the errors during the programming phase of the software development. It is also used for validation of the software. For representing the dynamic behavior of the software system, a sequence diagram from Unified Modeling Language is used. In the present work, test cases are generated from sequence diagram by converting it into the Sequence Flow Graph. Test scenarios are generated from Sequence Flow Graph by defining pre and post conditions using Object Constraint Language. Test case outputs are determined from the final message in the test scenario. A real case study for cash withdraw from Aadhaar card based ATM is considered. In India, Aadhaar card number is mandatory for every citizen and it increases security during transaction of cash from ATM machine. Generated test cases from the present study satisfy message path coverage criteria. Finally, cyclomatic complexity is also computed for optimizing or validating the generated test cases.

References
  • Pressman, R. S. 2005. Software Engineering: A Practitioner's Approach. Mc-Graw Hill.
  • Object Management Group (OMG). 2006. Object Constraint language (OCL) OMG, http://www. omg. org
  • Booch G. , Jacobson I. and Rambaugh G. 2009. The Unified Modeling Language Guide. Pearson.
  • Li, L. B. , Shu, L. Z. and Chen, Y. H. 2007. Test Case Automate Generation from UML Sequence Diagram and OCL Expression. International Conference on Computational Intelligence and Security, Harbina, China, pp. 1048-1052
  • Ali, M. A. , Shaik, S. and Kumar, S. 2014. Test Case generation using UML State diagram and OCL Expression, International Journal of Computer Applications, Vol. 95, No. 12, pp. 7-11
  • Swain, R. K. , Panthi V. and Behera, P. K. 2012. Test Case design using Slicing of UML Sequence diagram, Second International Conference on Communication, Computing and Security, pp. 136-144
  • Tonella, P. , Potrich. A. 2003. A Reverse Engineering of the Interaction Diagram from C++ code, Proc. of IEEE third International Conference on Software Maintenance, pp. 159-168.
  • https://en. wikipedia. org/wiki/Unique_Identification_Authority_of_India.
  • https://uidai. gov. in/authentication-2/operation-model. html
Index Terms
Computer Science
Information Sciences
No index terms available.
Keywords

UML Sequence Diagram Test Case OCL Sequence Flow Graph

Powered by PhDFocusTM