aqObject.CheckProperty() slowness
Hey guys!
Just some quick context: I recently updated Test Complete to version 15.70.4.7 (from version 15.51.30). I'm scouting out the new version before the rest of my coworkers also update.
One significant difference I'm seeing after updating is that when we call aqObject.CheckProperty(), it's waiting for the full "Auto-wait timeout" amount of time before it passes. If it's set to 10s, it waits 10s before it passes. It was not doing this before I updated.
Usually when I see a test going through an auto-wait timeout, it's about to fail because it couldn't find the object I'm testing or because the actual property value didn't match the expected property value, but now it's also waiting even when it is going to pass.
I wrote out a new function that achieves the same goal, but without using aqObject.CheckProperty(), and my new function does not have the same problem. I'll attach a few images showing two similar functions being called in a keyword test. One function using aqObject and one that doesn't. You'll see the one that does not use aqObject complete in a fraction of a second while the other takes a little over 10 seconds, which is what I currently have my Auto-Wait Timeout set to.
I have my own solution to this problem, but I honestly liked the convenience of using aqObject.CheckProperty() and wanted to know if there is another solution to try or if something needs to be fixed.