testObject.WaitForProperty(propertyName, expectedValue, [timeout])
Variable | Description |
---|---|
propertyName | The name of the property. String. |
expectedValue | The value of the property to wait for. Object. |
timeout | Optional: The maximum wait time in milliseconds. Integer. |
button.WaitForProperty("Enabled", true, 10000)
dialog.WaitForProperty("caption", "Operation Complete")
Note: To get the entire list of the available properties for a control, use the GetPropertyList method.