Sequence diagrams argument values and names. Therefore, the message comparison ideally should not use arguments but rather focus primarily on message names. When two messages are named identically, you can compare their arguments. For example, consider messages called evDigitDialed(Digit) . They would be equivalent if you compared only their argument names ( Digit ). However, if you compared their values ( EvDigitDialed(Digit=0) , EvDigitDialed(Digit=1) , and so on), their argument values would not be equivalent. Argument comparison occurs in the following steps: 1. Find each argument. 2. Find the argument name and value. 3.
Determine whether to use the name, the value, or both for the comparison. To specify whether to use argument names or values: 1. In the Message Selection tab, select a message and click Edit . The Edit Message Compare Options window opens. 2. Select one of the following options: Љ Compare Names Only compares argument names, but ignore their values. Љ Compare Names and Values compares both argument names and values. These are commonly used settings: 3. Click OK . Depending on your selections, the following labels are displayed in the Arguments column on the Message Selection tab:
Љ Disable means messages for which arguments should be ignored Љ Name means messages for which argument names should be compared, but not the argument values Љ Value means messages for which both argument names and values should be compared 714 User Guide Specification SD Execution SD Value Message() Message(Arg = 1) Ignore Arguments Message(Arg) Message(Arg = 1) Compare Names Only Message(1) Message(Arg = 1) Compare Names and Values