cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
Senior Member

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?

Thanks!

 

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

 

 

 

3 REPLIES 3
Community Hero

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

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.

Community Hero

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

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
[Community Expert Group]
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
Community Manager

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

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 Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓