Forum Discussion
rraghvani
Champion 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_Didata
31 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.
- rraghvani31 days agoChampion Level 3
No. You'll have to adjust the code to suit your needs, but this method works perfectly for my web testing.
I use the code against a web "process dialog" - that's to delay the tests until the dialog appears, and then delay the test until the dialog disappears.
Related Content
- 10 years ago
- 6 years ago
- 2 years ago
Recent Discussions
- 8 hours ago