Sequence diagram comparison Excluding a message in the comparison Specification SDs typically include information that is essential to a particular use case or scenario. In many cases, they exclude the initialization phase messages, whereas execution SDs include all messages. Therefore, it might be necessary ignore certain messages when doing a comparison, such as constructors. Ignored messages are inaccessible in the resulting comparison window. To exclude a message from the comparison: 1. Select the message to exclude. 2. Click Edit . The Edit Message Compare Options window opens. 3. Click the Ignore box to exclude the message from the comparison. 4.
The three radio buttons, allow you to specify the way to treat Arguments associated with the selected message. 5. Click OK . Comparing arguments There are two options for determining whether messages are identical: the first is to compare the message names and all arguments, the second is to compare only the message names. The latter option is more useful because SDs show four different kinds of arguments: Љ Unspecified arguments Љ Actual values Љ Formal names Љ Both names and values In specification SDs, you might not always provide complete information about message arguments. Because execution SDs record what the system actually does, they always show both Rational Rhapsody 713