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

Handling horizontal scroll bar in silverlight applications

1 Answer 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mamata
Top achievements
Rank 1
Mamata asked on 29 Aug 2013, 08:46 PM
Hi,
I wanted to know if there is any way to handle browser horizontal scroll bars with test studio. In the scroll element verification I can see only Page top and bottom options. When recording the scroll, test studio adds a step something like this "Drag AnimatedCommonInnerBorderBorder to application at (1892, 971) from TopLeftCorner" which could be sensitive to different browser size, resolution etc.
What's the best way to handle this in Silverlight applications?

Thanks,
Mamata Nayak

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 03 Sep 2013, 08:24 PM
Hello Mamata,

I am sorry but at this time we only have vertical scrolling as a built-in feature.

Do you need to horizontally scroll the browser window or some Silverlight element within the Silverlight application? If the latter you could try using code to scroll the element similar to this code sample. You would use SetHorizontalOffset and ViewportHeight and ExtentHeight instead of SetVerticalOffset, ViewportHeight, ExtentHeight.

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