tmahender12
8 years agoFrequent Contributor
Scroll a Panel
how to scroll atached panel using Name mapping. can u please help
- 8 years ago
Simply call object.scrollIntoView(true) right before you interact with whatever object is.
Simply call object.scrollIntoView(true) right before you interact with whatever object is.
FYI TestComplete scrolls web pages automatically before interacting with objects that are out of view. So, say, if you have obj.Click() and obj is currently out of view, TestComplete will automatically bring it into view and there's no need to scroll the page explicitly.
I would contradict HKosova rarely... but this is one case. :)
If it's the whole page, TestComplete does things very well. However, if it's a scroll bar in a panel on the page where, you need to make an explicit call to make sure that the sub-panel scrolls since the whole page will not.
You make Sense robert. Could some one explain how to use scrollintoview in this scenario.
Simply call object.scrollIntoView(true) right before you interact with whatever object is.
yep it resolved. Thanks tristaanogre