CFP last date
20 January 2025
Reseach Article

Automated Generation of Functional Test Cases and Use Case Diagram using SRS Analysis

by Arjinder Singh, Sumit Sharma
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 124 - Number 5
Year of Publication: 2015
Authors: Arjinder Singh, Sumit Sharma
10.5120/ijca2015905464

Arjinder Singh, Sumit Sharma . Automated Generation of Functional Test Cases and Use Case Diagram using SRS Analysis. International Journal of Computer Applications. 124, 5 ( August 2015), 15-19. DOI=10.5120/ijca2015905464

@article{ 10.5120/ijca2015905464,
author = { Arjinder Singh, Sumit Sharma },
title = { Automated Generation of Functional Test Cases and Use Case Diagram using SRS Analysis },
journal = { International Journal of Computer Applications },
issue_date = { August 2015 },
volume = { 124 },
number = { 5 },
month = { August },
year = { 2015 },
issn = { 0975-8887 },
pages = { 15-19 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume124/number5/22098-2015905464/ },
doi = { 10.5120/ijca2015905464 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T23:13:33.968432+05:30
%A Arjinder Singh
%A Sumit Sharma
%T Automated Generation of Functional Test Cases and Use Case Diagram using SRS Analysis
%J International Journal of Computer Applications
%@ 0975-8887
%V 124
%N 5
%P 15-19
%D 2015
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Software testing mainly consists of three types of approaches i.e. specification based testing, model based testing and coding based testing. In specification based testing, major concern is to find the missing logic defects that cannot be find by using other types of testing. Specification testing mainly uncovers the specification problems in Software Requirement Specification (SRS). An approach for the generation of functional test cases from SRS has been presented in this paper. This approach will help to achieve the early detection of faults and will reduce the time, cost and effort of the developer. Proposed model will automatically generate the functional requirements from the SRS. Template for Use Case diagram will be automatically generated from the functional requirements. Activity diagram will be used to generate the Activity Dependent Table (ADT) and hence Activity Dependent Graph (ADG) will be generated from ADT. Functional test paths will be generated by applying the Depth First Search Algorithm (DFS) as a searching algorithm. Finally we will generate the test cases from the functional test paths.

References
  1. Isabella, A., and Emi Retna. "Study Paper on Test Case generation for GUI Based Testing." arXiv preprint arXiv:1202.4527 (2012).
  2. Prasanna, M., et al. "A survey on automatic test case generation." Academic Open Internet Journal 15.part 6 (2005).
  3. Young, Michal. Software testing and analysis: process, principles, and techniques. John Wiley & Sons, 2008.
  4. Gill, Nasib Singh. Software engineering: software reliability, testing and quality assurance. Khanna Book Publishing, 2007.
  5. Kundu, Debasish, and Debasis Samanta. "A Novel Approach to Generate Test Cases from UML Activity Diagrams." Journal of Object Technology 8.3 (2009): 65-83.
  6. Jena, Ajay Kumar, Santosh Kumar Swain, and Durga Prasad Mohapatra. "A novel approach for test case generation from UML activity diagram." Issues and Challenges in Intelligent Computing Techniques (ICICT), 2014 International Conference on. IEEE, 2014.
  7. Tripathy, Abinash, and Anirban Mitra. "Test Case Generation Using Activity Diagram and Sequence Diagram." Proceedings of International Conference on Advances in Computing. Springer India, 2012.
  8. Nebut, Clementine, et al. "Automatic test generation: A use case driven approach." Software Engineering, IEEE Transactions on 32.3 (2006): 140-155.
  9. Mingsong, Chen, Qiu Xiaokang, and Li Xuandong. "Automatic test case generation for UML activity diagrams." Proceedings of the 2006 international workshop on Automation of software test. ACM, 2006.
  10. Andreou, Andreas S., Kypros A. Economides, and Anastasis A. Sofokleous. "An automatic software test-data generation scheme based on data flow criteria and genetic algorithms." Computer and Information Technology, 2007. CIT 2007. 7th IEEE International Conference on. IEEE, 2007.
Index Terms

Computer Science
Information Sciences

Keywords

SRS Use Case Diagram Activity Diagram DFS