@eparijs
You can define a counter variable counting the Pages that have been Processed through the iterations.
With a Logic IT can handle the different click on >. This Logic can be e.g implemented with the Modulo function. Countervar Mod 10 = 1 do clicking on the >, 21 Mod 10 =1…
Just for the First Page you have to click on 1, so this scenario is to handle extra. And Sure BOT should Stop Forward clicking once the Last Page is reached
Hi @eparijs
While you are doing data scraping keep maximum number as 0
And
Once you finished the extraction it will ask the question” is data spanning multiple pages?” If you are extracting the data from multiple pages then click on Yes and indicate >
So it will automatically scrap 60 websites
What you describe is the normal way you would do this, but the problem is that when you click on
“>” you’ll get the next series of 10 pages, not the next page.
So when you have this on you screen:
1 2 3 4 5 6 7 8 9 10 >
When you click on
“>” page number 11 will be shown, not page 2.
If pageNo>1
Then : Click - Target Selector : "<html app='chrome.exe' url='172.16.105.80'/> <webctrl aaname='" + pageNo.ToString + "' parentid='pagination' tag='A' />"
(End if block)
Data Scraping : Scrape from Page and store / process the scraped data as per your scenario
Assign pageNo = pageNo + 1
Element Exists - Target Selector : "<html app='chrome.exe' url='*172.16.105.80*' /> <webctrl aaname='" + pageNo.ToString + "' parentid='pagination' tag='A' />"
Save the result in a boolean variable nextPageExists