Research Article
Synthesis of Test Scenarios Using UML Sequence Diagrams
Procedure 1
Function Create Scenario Graph.
Input:β : Sequence diagram in XMI formβββββ// is the main fragment | Output:βG: scenario graph in the form | 1:βCreate initial node ; | 2:ββββ// Process the main | ββfragment with | 3: if β then | 4:βββCreate final node ; | 5:βββConnect edge from ; | 6:β end if | 7:β return β with entry node and exit node ; | 8:βstop | AlgorithmβThe scenario graph generation algorithm |
|