Ask a Question

Keyword test: Auto-Wait Timeout always used instead of WaitProperty's WaitTime value

New Contributor

Keyword test: Auto-Wait Timeout always used instead of WaitProperty's WaitTime value

I have a Keyword test with an On-Screen Action WaitProperty with a WaitTime value set. 

On playback, TestComplete never uses this value. Instead, it always uses the Auto-Wait Timeout value.

There must be a way to use the WaitProperty value, right? Anybody know how to do this?



11-22-2019 9-13-49 AM.png




Champion Level 3

Check and make sure that your WaitTime is actually of type Integer.  You can click the ellipses to the right of the value and see the properties.

Esteemed Contributor

Also, note that you're trying to call "WaitProperty" on an object to check for visibility... it's entirely possible that, when you call "WaitProperty", the object may not actuall exist yet.   You should use If Object Exists to check existance of the object BEFORE you attempt to call any other methods on that object.  This is, in my experience, the first thing that needs to be corrected in these situations.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
SmartBear Alumni (Retired)

Thanks for the help, Marsha_R,  tristaanogre!


@CliffYoung, do the suggestions help you resolve the issue? please let us know if you need any more assistance.



Tanya Yatskovskaya
SmartBear Community and Education Manager

Showing results for 
Search instead for 
Did you mean: