Lesson 9: Change the Recognition Preferences
In the previous lesson, you saw how you can update the recognition properties of an object when they change. Another factor you can change is the recognition weights that Rational® Functional Tester uses during playback. You use the ScriptAssure™ recognition preferences to set this. The label object that you tested with the second verification point can demonstrate how this works.
Procedure
- On the Rational® Functional Tester menu, click .
- Click .
-
Click the Advanced button.
Notice that one of the default settings is Warn if accepted score is greater than: 10000. A score of 10000 indicates that one important property can be wrong. Let's lower the score to 5000 and see what happens.
- Select the Use Default check box beside this field.
- Then type 4000 in the field and then click OK.
-
Play back the script on ClassicsB again.
The log now contains a warning for the label object. The reason given in the objectFound field, is that the recognition score is 10000. This discrepancy was caused by changing the word "Order" to "Orders" in the label.
- Close the log.
-
Restore the default value for the recognition score: