Completed
Last Updated: 09 Apr 2019 12:59 by ADMIN
ADMIN
Cody
Created on: 10 Sep 2014 13:21
Type: Feature Request
12
Only scroll to visible the target element when necessary
Currently when a test step is set to SimulateRealClick or SimulateRealTyping, the target element is unconditionally scrolled to the top of the browser window, even in cases where the element is already visible.
It would be more efficient to test if the target element is already fully visible and only scroll when needed.
7 comments
ADMIN
Ivaylo
Posted on: 09 Apr 2019 12:59
Hello,

Ability to change the ScrollToVisible type has been added in the step properties so now customers can choose between scrolling to bottom or scrolling to the top. Refer the attached image below

Regards,
Ivaylo
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Attached Files:
sebastien
Posted on: 04 Sep 2018 15:09
related : https://feedback.telerik.com/Project/161/Feedback/Details/137572-add-global-setting-to-change-default-behavior-of-scrolltovisible
sebastien
Posted on: 04 Sep 2018 15:09
No Bootstrap header here, but a very similar top-sticky banner. It has fixed size, so the suggestion from Mark would be great to be implemented.
Mark
Posted on: 31 May 2018 08:42
Disabling the option wouldn't actually help. it would be better to do something like add an offset or option to scroll to a different point on the screen. Yes, same here bootstrap header which is the entirety of our application. 
Bart
Posted on: 17 Nov 2017 13:49
Hi Andy,
when such an option will be available?
ADMIN
Andy Wieland
Posted on: 13 Oct 2017 15:39
Hi Sarah, 

I have run into this before as well, and currently there is not an option to disable this behavior from the UI so it must be edited in code and then you can simply comment out the "Scroll to Visisble" and "Focus" steps.  This item also relates to this item: https://feedback.telerik.com/Project/161/Feedback/Details/123447-add-focus-property-to-click-and-set-text-action-steps
Sarah
Posted on: 13 Oct 2017 15:21
This has become an issue for UI using Bootstrap sticky header for navigation menu. Broke all my existing tests, causing much rework.