IsVisible Function


AnyWin. IsVisible() also applies to all HTML classes except for the following:
  • HtmlForm
  • HtmlCombobox
  • HtmlHidden
  • HtmlMarquee
  • HtmlMeta
  • HtmlRadioList


Tests whether an object is visible—that is, it has not been designated as a hidden object.

Note: With the Open Agent you can only locate visible objects, so by default IsVisible always returns TRUE. However, you might need this function when an already located object in the application under test gets invisible during replay.


bTest = window.IsVisible()
Variable Description
bTest TRUE if the object is visible, FALSE if it is hidden. BOOLEAN.