Returns or sets an integer used for comparison in the RefX/Ref2 Test.
Object.Ref [ = lRef ]
The Ref property syntax has the following parts:
Name |
Type |
Description |
Object |
ATest |
ATest object |
lRef |
Long |
An integer used for comparison in the RefX/Ref2 Test type. |
This Ref property value represents the expected result of the test and is compared against TestResult Variable value to determine if the test pass or failed. Use the Mask property to ignore certain bits in Ref and not use them for comparison. The property is set by the ATEasy run-time from the test properties window at the start of the test. You can override that value by setting this value setting the property value at run-time.
The following statement shows how to set the number used for comparison in the hexadecimal Ref Test:
Test.Ref = 0x3 ! all error bits in status register should be 0 except from bit 0 and 1