Identifying the scroll bar on a div : Automation API

Identifying the scroll bar on a div

Class library usage, coding and language questions.

Identifying the scroll bar on a div

Postby anzacthecat » Mon Jul 11, 2011 3: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.
anzacthecat
 
Posts: 29
Joined: Mon Jan 10, 2011 2:05 pm

Re: Identifying the scroll bar on a div

Postby Support Team » Mon Jul 11, 2011 3: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests

cron