Page 1 of 1

Scroll resets before each action.

Posted: Tue Aug 31, 2010 6:33 am
by Joppen
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

Re: Scroll resets before each action.

Posted: Tue Aug 31, 2010 8:35 am
by Support Team
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

Re: Scroll resets before each action.

Posted: Wed Sep 01, 2010 11:47 am
by Joppen
Hi,

Your solution using "Use Ensure Visible" worked great!

Thank you.

/Joakim