This paper presents an approach of generating test cases from a combination of UML activity diagram and 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). Then we combine the two graphs i.e. SG and AG to form System Graph (SYG). The SYG is then traversed to form the test cases. The test case thus generated is suitable for system testing and to detect the operational, interaction, scenario faults and the state explosion problem in case of concurrent system.
展开▼