Hi All,
Sometimes in application we need to scroll the page or object grid list item. Like in search result of Google page next link comes at the end of the page. For click the next page link we have to scroll the page. In that case QTP does not record scroll down event. Usually it’s seen that QTP identifies the object in the page irrespective of scroll down.
But some times it does not work for items list in grid. OR it will take time. For this we can use scrollintoview method. It will automatically scroll the page up to object view.
Like:
Browser(“Google”).Page(“testeverything – Google”).Link(“Next”).Object.scrollIntoView
3 comments:
nice
thumbs up :)
Thank you so much. I have been looking for this for long time
Post a Comment