18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Handle scroll event on table

Hi

I have a web page that has a table with a scroll bar. On page load only 10 rows are populated in this table. When you click on the scroll, then additional data is fetched and is added as extra rows to the table. This probably would be fetched as a ajax call.

While recording, SAHI has captured the link click after scroll is performed. However during playback this link click fails (as there is no scroll action and hence the link itself is not present).

My question is how to scroll the table so that additional rows are fetched and then perform the action

Sanket

Answers

  • For general page scrolling i use window.scrollTo, for your case a _focus($someThingAtTheBottomOfTheTable) could maybe help
Sign In or Register to comment.