Forum Discussion

kimmatsumoto's avatar
kimmatsumoto
Contributor
3 years ago

TestComplete aqObject.CheckProperty method

I was recently told by a co-worker to avoid using the aqObject.CheckProperty method to validate data because it can be decommission in the future. Is this true? Personally, I've been using TestComplete since version 3 and never encountered an issue when using Smartbear's check methods. I would appreciate your thoughts, experience, and opinions. Thank you.

  • Hi,

     

    I would like to see the source where your co-worker got this information.

    I do not remember to see any warning like this in the documentation and .CheckProperty() is the method that I use very often in my test code.

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    I would like to see the source where your co-worker got this information.

    I do not remember to see any warning like this in the documentation and .CheckProperty() is the method that I use very often in my test code.

     

  • Guiseppe8's avatar
    Guiseppe8
    New Contributor

    Description. The aqObject. CheckProperty method allows you to perform a property checkpoint from script code, that is, to verify an object's property value according to a certain condition. If the verification succeeds, the method posts a success message to the test log; otherwise it posts a failure message.