This is a migrated thread and some comments may be shown as answers.

Auto-scrolling Problem

1 Answer 184 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 05 Sep 2014, 08:18 PM
Hi there, I'm having a problem with the scroll to top function.  The app i'm testing has a static field at the top, and when running a test the scroll to top functionality is placing the field that I am trying to have it click behind the static field.  This is making it click on the static field instead and is not allowing it to access what i need it to.

I've found I can go in the code behind the step and change it to scroll bottom to make it work.

Is there a way to default all of the steps to use scroll bottom instead?
Or is there possibly a way to prevent the scrolling altogether when it isn't needed?

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 10 Sep 2014, 01:22 PM
Hi Jon,

What type of application are you testing? I need to understand why is Test Studio wanting to scroll at all in the first place. The default for testing an HTML based application is to never scroll, expect for steps that have Simulate Real Click or Simulate Real Typing enabled.

To answer your questions directly "Is there a way to default all of the steps to use scroll bottom instead?" No I'm sorry there isn't a global setting to change this default behavior. Furthermore, no Test Studio isn't smart enough to only scroll when necessary, and not scroll when the element is already fully visible.

Both of those I think are reasonable feature requests, so I created new ones on your behalf:
Now let's try and figure out why Test Studio wants to scroll in the first place and see if we can stop it from doing so unnecessarily.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or