Skip to main content

Test Case Generation Using Activity Diagram and Sequence Diagram

  • Conference paper
Book cover Proceedings of International Conference on Advances in Computing

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 174))

Abstract

In this paper, we present an approach to generate test cases by usingtogether the UML activity diagram and the sequence diagram. Our approach consists of transforming the sequence diagram into a graph called Sequence Graph (SG) and transforming the activity diagram to the Activity Graph (AG). Henceforth, System Graph (SYG) is formed by integrating the two graphs i.e. SG and AG. The SYG is then traversed to form the test cases. We have used DFS (Depth First Search) method as a Graph Optimization technique .for traversing the SYG.It was observed that the test cases obtained from this method is not only exhaustive but also optimized. The test case thus generated is suitable for system testing and detect the operational, interact and, scenario faults.Our approach is also capable of handling the state explosion problem in case of concurrent systems.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Mall, R.: Fundamental of Software Engineering, 2nd edn. Prentice-Hall of India Private limited, New Delhi (2004)

    Google Scholar 

  2. Object Management group, UML Specification 1.5 (2000), http://www.omg.org/uml

  3. Booch, G., Rambaugh, J., Jacobson, I.: The United Modeling Language User Guide. Addition-Weseley (2001)

    Google Scholar 

  4. Mall., R., Sarma, M.: Automatic Test case Generation from UML Models. In: The Proceeding of IEEE Conference on Software Maintenance (2007)

    Google Scholar 

  5. Wang, L., Yuan, J., Yu, X., Hu, J., Li, X., Zheng, G.: Generating Test cases from UML Activity Diagram based on Gray-box Method, National Natural Science Foundation of China. National Natural Science Foundation of China (2005)

    Google Scholar 

  6. McGregor, J.D., Sykes, D.A.: A practical guide to testing object-oriented software. Addition Wesley, NJ (2001)

    Google Scholar 

  7. Binder, R.V.: Testing Object-Oriented System Models, Patterns and Tools. Addition-Wesley, NY (1999)

    Google Scholar 

  8. Coreman, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithm, 2nd edn. The MIT Press. McGraw-Hill Book Company, Massachusetts, London

    Google Scholar 

  9. Kim, H., Kang, S., Baik, J.: Test Case Generation from UML Activity Diagram. In: Proceeding of 8th ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing. IEEE Computer Society (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abinash Tripathy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer India

About this paper

Cite this paper

Tripathy, A., Mitra, A. (2013). Test Case Generation Using Activity Diagram and Sequence Diagram. In: Kumar M., A., R., S., Kumar, T. (eds) Proceedings of International Conference on Advances in Computing. Advances in Intelligent Systems and Computing, vol 174. Springer, New Delhi. https://doi.org/10.1007/978-81-322-0740-5_16

Download citation

  • DOI: https://doi.org/10.1007/978-81-322-0740-5_16

  • Publisher Name: Springer, New Delhi

  • Print ISBN: 978-81-322-0739-9

  • Online ISBN: 978-81-322-0740-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics