Forum Discussion
Bobik
9 years agoFrequent Contributor
I recommend you change
Aliases....dlgError.WaitProperty("Exists",true,1500)
line to
Aliases....WaitAliasChild("dlgError",1500).Exists
In this case you won't wait for project 'playback timeout' if the error doesn't exist. By default it's 10000ms and may slowdown your test.
- tristaanogre9 years agoEsteemed Contributor
Just as a general note:
You can't test for the values of the "Exists" property of an object if the object does not actually exist. If it doesn't exist, there is no way to look at the property. This is why functions like WaitAliasChild were created... they look for the object in question... if it is present within the given timeout, then it returns the object. If it is not present, it returns an empty "stub" object with an Exists property with the value of "false".
Related Content
- 7 years ago
Recent Discussions
- 29 minutes ago
- 24 hours ago
- 7 days ago
- 11 days ago