How can I capture data from each webpage where paging is there
Hi @Prankur Joshi
Pagination is apply here, Using for loop and Capture the paging table set DOMXPath as pages run dynamically.
First, you need to build the logic to identify the number of pages on the webpage and navigate through all the pages- as I can see previous and next option has disable/enable function, you can utilize that to run in a loop till the object is available.
Now you can extract each table from the web page using the ID eg: \table,\table,..... which would be dynamic.
Kartheek T C
Thanks @chenchu kartheek Talahari for the reply.
However I have found a better way to do this, with while loop and object exists condition, it should work fine without worrying about how many pages are there.
Hi @Prankur Joshi ,
Try studying the Object Properties(Ctrl+Shift+I) of the Next Button.
There is a good chance that as soon as it reaches the last page, the button becomes Disabled.
You can use a Loop: While: Object Condition for the bot to keep iterating as long as the button is Active.
Yes @Ashwin A.K I did, thank you for your reply.
Hello @PrankurJ , I am using while loop but it doesn’t extract the last datatable in the last page.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.