In webpage each ID has different page numbers will appear, if i want to download the data from website it has a limit to accept download page number is 25.
Case1: if 24569 ID has 79 pages, I have to enter 25 number first time, 50 second time, 75 third time, 4th time “4” i have to enter the right number to download pages data.
Case2:if 97603 ID has 30 pages, I have to enter 25 number first time, 5 number second time to download the data,
How to right if condition when page number is more than 25, and again how to subtract the number 79-25 and 30-25, when i want to enter the data dynamically in Type into tool.
There can be different ways to achieve this but is what comes in my mind right now:
Get the total number of pages in advance of the page navigation- i believe you already have that, if not, there would be something shown on your screen like 1-25 of 79 etc, fetch the total number from there
to identify what page id you are on, use get attribute property to get the page Id
@sonaliaggarwal47 Thank you for the details, Here the issue is Page number will change dynamically for any number more than 25 i have to fix the logic to work for any number.
@Darshan_Sable Thank you for the logic if possible can you share me the workflow. Here Page numbers will change dynamically. the logic should work for any page number.