Identifying the scroll bar on a div

Class library usage, coding and language questions.
anzacthecat
Posts: 31
Joined: Mon Jan 10, 2011 1:05 pm

Identifying the scroll bar on a div

Post by anzacthecat » Mon Jul 11, 2011 2:18 pm

I have got a table within a scrollable div on a webpage. I am trying to doubleclick specific rows in the table to select the items to a second table below.

My problem is that if a row isn't visible, Ranorex will still think it has found and clicked it. I have tried focus and ensurevisible but no joy. So, I thought about using the vertical scroll bar to make sure the item is visible before clicking it, but I cannot identify the scroll bar or the up and down arrows on it. Any suggestions would be gratefully received.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Identifying the scroll bar on a div

Post by Support Team » Mon Jul 11, 2011 2:26 pm

Hi,
anzacthecat wrote:I have got a table within a scrollable div on a webpage. I am trying to doubleclick specific rows in the table to select the items to a second table below.
Would it be possible to post us a Ranorex Snapshot of the expected control for further analyses?
How to create a Ranorex Snapshot With this snapshot we can check your issue. Or is it possible to view your page online? Which version of Ranorex do you use?

Regards,
Peter
Ranorex Team
.
Image