How to use wait property?
I am using wait property in keyword test.
Property name: VisibleOnScreen
Property value: True
wait: 60000(Created one variable and stored 60000 in it) for every test case i am using that variable for waiting.
Here the problem is object is not waiting upto 60 sec. It is wating upto auto wait time(10 sec)
Can anyone help am I missing any changes? How to slove this.
Thanks in advance.
Solved! Go to Solution.
Can you share your code?
Understand, though, that there is an initial wait as well for object identification.
If, for example, you're calling "WaitProperty" on Aliases.MyApp.MyForm.MyButton, the engine of TestComplete first needs to detect the object itself and will wait for MyButton to be available. You can't call "WaitProperty" on an object that does not exist so it first needs to search out the object. This is default and expected behavior.
[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
In addition to Robert's reply, please take a look at the following page explaining the ways you can use to wait for objects in TestComplete:
SmartBear Community and Education Manager