Forum Discussion

rachelle's avatar
rachelle
Contributor
14 years ago

property checkpoint in TC8

Hi,



I recently upgraded from my TC7.5 installation to the new version of TC8. I am just confused on how the property checkpoint works on TC8. I set a property checkpoint which checks if the wItemCount is equals to 8. But when I run the test it returns an error in the log that property checkpoint failed. the itemcount does not equal to 0. In the remarks log it says










Property: wItemCount












Expected value: 0
Actual value: 8



the actual value was 8 how come it failed when I specified in my checkpoint that it will check if the item count is = 8. And where did the expected value come from when I never specified an expected value?

2 Replies

  • Hi,


    Property checkpoints always have the value to compare against. Check the following:

     - if you are using the Property Checkpoint operation in a keyword test, verify that you have specified the 'cmpEqual' condition and the value equal to 8;

     - if you are using the property checkpoint in scripts, make sure that aqObject.CheckProperty has 'cmpEqual' as the third parameter and 8 as the fourth parameter:

    aqObject(TestedObj, "wItemCount", cmpEqual, 8).