What does visible mean for Ranorex exactly

Ranorex Spy, Recorder, and Studio.
James2
Posts: 1
Joined: Tue May 14, 2019 10:19 am

What does visible mean for Ranorex exactly

Post by James2 » Wed May 15, 2019 7:40 am

Visible in the context of UI-testautomation can mean two different things:

Visible anywhere on the website. You can see it immediately or after you scroll

Visible in the viewport, which means, that you can see the element without scrolling.

In the Ranorex documentation the definition isn't clear regarding this. So what is in Ranorex the exact definition for "visible"?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4967
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: What does visible mean for Ranorex exactly

Post by odklizec » Wed May 15, 2019 9:54 am

Hi,

Visible attribute means "visible in viewport". Sadly, in some UIs (typically Angular tables), the 'Visible' attribute returns True, even though the item is covered by some other parts of UI (e.g. table header). So yes, it's technically 'visible' in viewport, just not actually visible and therefore accessible for mouse clicks.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration