Completed
Last Updated: 09 Apr 2019 12:59 by ADMIN
ADMIN
Cody
Created on: 10 Sep 2014 13:18
Type: Feature Request
5
Add global setting to change default behavior of ScrollToVisible
Currently when Test Studio wants to scroll an element to make it visible (such as when SimulateRealClick or SimulateRealTyping is enabled) Test Studio will always, and unconditionally, scroll the element to the top. This causes problems for a few applications that have a static UI element, the target element ends up being scrolled underneath this static UI element.
It would be helpful to have a global setting which controls whether the target element is scrolled to the top or the bottom of the browser window. The parameter is available in the API, just need to expose it as a step setting, or a global setting so that customers aren't forced to convert the step to code and override the default behavior, which can be time consuming when there are lots of steps that this must be done on.
3 comments
ADMIN
Ivaylo
Posted on: 09 Apr 2019 12:58
Hi,

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/137576-only-scroll-to-visible-the-target-element-when-necessary
sebastien
Posted on: 04 Sep 2018 14:59
I have a simple and apparently common use case : having a large vertical page, and a sticky opaque banner fixed on top of screen.