As Unified Modeling Language (UML) activity diagrams capture the key system behavior, the UML activity diagram is well suited for the system level testing of systems. In this paper, first an activity flow graph is derived from activity diagram. Then, all the required information is extracted from the activity flow graph (AFG). The activity flow graph (AFG) for the activity diagram is created by traversing the activity diagram from beginning to end, showing choices, conditions, concurrent executions, loop statements. From the graph different control flow sequence are identified by traversing the AFG by depth first traversal technique. Next, an algorithm is proposed to generate all activity paths. Finally, test cases are generated using activity path coverage criteria. Here, a case study on Soft drink Vending Machine (SVM) has been presented to illustrate our approach.
SWAIN, RANJITA KUMARI; PANTHI, VIKAS; and BEHERA, PRAFULLA KUMAR
"GENERATION OF TEST CASES USING ACTIVITY DIAGRAM,"
International Journal of Computer Science and Informatics: Vol. 4
, Article 8.
Available at: https://www.interscience.in/ijcsi/vol4/iss1/8