Page tree

MagicDraw 19.0 LTR SP3 Documentation

The expression evaluation capability in the expression editor allows you to run/execute an expression on the actual testing model while editing.

Expression Evaluation dialog showing the expression body on the left and values of parameters on the right.

To open the Expression Evaluation dialog

  • In the modeling tool main menu, click Tools, and select Expression Evaluation.

While evaluating your expressions, choose:

  • Use Selection. Set to True, if you want to use the selected elements as the evaluation criteria. Elements can be selected either in the Model Browser or in the diagram, but not both.
  • Iterate through selection. Select the check box to evaluate model elements one by one.

The Expression Evaluation is also available in the dialogs, wherein you can define expressions, e.g., Expression editor, Dependency Criteria, Body and Language dialogs. If you want to start using the expression evaluation in one of these dialogs, click the Evaluation Mode button.

Dependency Criteria dialog showing the location of the Evaluation Mode button on the right.
  • No labels