International Journal of Applied Information Systems |
Foundation of Computer Science (FCS), NY, USA |
Volume 11 - Number 4 |
Year of Publication: 2016 |
Authors: Wasiur Rhmann, Vipin Saxena |
10.5120/ijais2016451599 |
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
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.