I'm evaluating Ranorex 3.2.1 to test desktop application with controls inherited from DevExpress.
On one from froms, there is table (grid) with 12 rows, and only 10 of them are visible (also scrollbar exists so all of rows can be accessed).

When scrollbar is at top position => Ranorex Spy treat row 11 as visible and row 12 as not visible. But in fact both row 11 and 12 are not visible.

When scrollbar is at bottom position => Ranorex Spy shows that both row 1 and row2 are not visible (and this is absolutely correct).

Pavlo wrote:When scrollbar is at top position => Ranorex Spy treat row 11 as visible and row 12 as not visible. But in fact both row 11 and 12 are not visible.

It looks like that row 11 is partially visible. This means if 1px of the control is visible the whole control is shown as visible. But this should be no problem, because if you click on this element, Ranorex tries to make this control entirely visible. Did you try to use EnsureVisible on this cell?

I have this same issue with my DevExpress grids... I've solved it with my own ClickCell method that checks for Visible and then checks the Y + Height of the cell versus the Y + Height of the grid. If the bottom of the cell is off screen after my calculation then I find the Line Down button of the vertical scroll bar and click once.

If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege wrote:I have this same issue with my DevExpress grids... I've solved it with my own ClickCell method that checks for Visible and then checks the Y + Height of the cell versus the Y + Height of the grid. If the bottom of the cell is off screen after my calculation then I find the Line Down button of the vertical scroll bar and click once.

Hi

I had same idea in my mind, but think that re-implemeting property visible is not bext idea, so solved issue in another way.
Since I want to click cell to select the row, I'm calling DoDefaultAction from Accessible.
It works well even if cell/row is visible just for 1 pixel and also works well and selecting row (and scrolling to required row) in cell/row is not visible at all.