Scroll resets before each action. : Automation Tools

Scroll resets before each action.

Ranorex Spy, Recorder, and Studio.

Scroll resets before each action.

Postby Joppen » Tue Aug 31, 2010 7:33 am

Hi,

I have a modal dialog that contains a vertical scrollbar. Outside the area visible when dialog i loaded is an icon I want to click.

Ranorex tries to click the icon without scrolling and obviously fails. I record when I scroll and then click. The scrolling executes correctly in playback but when Ranorex executes the click the scroll reset and thereby making the icon that I want to click hidden again. Playback fails.

Any ideas?

/Joakim
Joppen
 
Posts: 5
Joined: Wed Aug 18, 2010 8:18 am

Re: Scroll resets before each action.

Postby Support Team » Tue Aug 31, 2010 9:35 am

Is this a Windows Forms dialog? If so, are you using the latest Ranorex version 2.3.4? That version fixes the EnsureVisible behavior for Windows Forms scrollable container (see Ranorex 2.3.4 release notes).

If that does not fix the problem, try setting the "Use Ensure Visible" property of the repository items in that dialog to "false".

Regards,
Alex
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4289
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Scroll resets before each action.

Postby Joppen » Wed Sep 01, 2010 12:47 pm

Hi,

Your solution using "Use Ensure Visible" worked great!

Thank you.

/Joakim
Joppen
 
Posts: 5
Joined: Wed Aug 18, 2010 8:18 am


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests