You can optionally define expected results in the Expected pane by dragging elements from the Rule Vocabulary view, dropping them in the Expected pane, then specifying values, like you do while defining input data.



Note: After you run the Ruletest, you can copy data from the Output pane to the Expected pane if you want to make some changes to the rules and see if the output differs from the output of the previous test. To do it, select Ruletest > Testsheet > Data > Output > Copy To Expected or click the Copy To Expected button.