ThomasCasserly
2 years agoFrequent Contributor
WaitProperty not detecting that property is not at expected value
Hi all,
I have a WaitProperty step in my keyword test, I am trying to check if a button is enabled or not before the test proceeds, so have selected the button as the object and "Enabled" prop...
- 2 years ago
Waitproperty will not stop the script. It will just wait either te state got changed or till the time you specified. To make the script stop you need to add if statement after this wait to read the Last operation result and see if that wait statement failed or not.
Waiting for Object State Changes | TestComplete Documentation (smartbear.com)