Forum Discussion
YMinaev
Staff
14 years agoHi,
VisibleOnScreen can be a problem in your original case. The value of this property depends on whether the target object is currently drawn on the screen (not covered by any other objects), which can be unreliable. If you need to find a visible (not hidden) object, use Visible instead.
In any case, using NativeWebObject.id is the most reliable way to find objects because this property returns the object name assigned to it in the HTML code.
VisibleOnScreen can be a problem in your original case. The value of this property depends on whether the target object is currently drawn on the screen (not covered by any other objects), which can be unreliable. If you need to find a visible (not hidden) object, use Visible instead.
In any case, using NativeWebObject.id is the most reliable way to find objects because this property returns the object name assigned to it in the HTML code.