Forum Discussion
HKosova
Alumni
14 years agoHi Pasha,
Actually, property checkpoints aren't aimed at checking whether an object exists — they are aimed at checking properties of already existing objects. So, I recommend that you use the approach that Robert suggested instead.
You're using the cmpNotEqual condition here, which means that the checkpoint passes if Exists is not True (that is, if it's False) and fails if Exists is True. So, the checkpoint result is perfectly correct.
aqObject.CheckProperty(Aliases.OptionsWorkshop.HwndSource_ScheduleForm, "Exists", cmpNotEqual, true);
Actually, property checkpoints aren't aimed at checking whether an object exists — they are aimed at checking properties of already existing objects. So, I recommend that you use the approach that Robert suggested instead.