How to click on next page numbers (For example: 1 2 3 4 5....)

How to click on next page numbers (For example: 1 2 3 4 5…n). If N number of pages exists. There are 50 records per page.

@hairsh,

Use Data scraping to scrape all data and indicate navigate button to go to next page.

If you know the count of 50 records per page then after 50 you can keep an element exists with dynamic selector on next page element. and use click activity.
You can also make use of Data Scraping Activity which navigates to all the pages and Scrap things.

Use a dynamic selector with a variable that keeps increasing instead of the page number to navigate.
Put everything in a try catch and when it throws an error catch it and you know you have reached the end.
This works if the number of pages keeps changing.

yeah i can do that but i have to again come back and i should start from initial page to click on every button in each record and i have to do some actions.