Solved
Forum Discussion
chrisb
9 years agoRegular Contributor
Exists isnt a good check of whether the object is visible. The object may well exist and not be visible to user. Exists just means the object is in Test Completes object tree. Try the VisibleOnScreen property and write logic to use the true / false value of this property to determine if the object is displayed to user.
FYI, Visible is not a true indicator as to whether user can see the object. If VisibleOnScreen gives false positives then perhaps you can check the dimensions of the object (height / width), they should indicate when the object is not visible to user. I think VisibleOnScreen will work for you though if you check the value of that property and use it to determine if the object is displayed to user.