Forum Discussion
MW_Didata
31 days agoRegular Contributor
You could use a while loop, This one is writen in JavaScript but should be about the same:
I added a check that after a few checks it returns
- rraghvani31 days agoChampion Level 3
WaitProperty method will pause execution until the specified object property achieves the specified value or until the specified timeout elapses. For example, waiting until the property value Visible becomes False.
object.WaitProperty("Visible", "false", 30000);
- MW_Didata31 days agoRegular Contributor
if the Object stops existing there is no visible property, does it still work?
- Hassan_Ballan31 days agoFrequent Contributor
No you will get error, object must exist before you can check any property value.
- JDR250030 days agoFrequent Contributor
In my experience this approach will fail with an error that the object doesn't exist. You can't check a property of an item that doesn't exist. If the window still exists, but the Visible property is False then it should work,
Related Content
- 10 years ago
- 6 years ago
- 2 years ago
Recent Discussions
- 9 hours ago