I need to browse a search result as a table having “select” column to download each row’s data and the table only shows numbers at the bottom as the page number without any “Next” or “>”. Any idea?!
Unfortunately, none of the Extract Table or Data Scrapping worked so far even after I chose number “2” as the next anchor for pagination.
You’ll have to set up a Do While and use a dynamic selector and a counter to check if there is another page to go to and click that next number. Also within the Do While you’ll use the table extraction but set it for only one page, then merge its datatable into a final datatable.
pageCounter int32 = 1
– Do While (condition: morePages)
— Table Extraction into ExtractDT
— Merge ExtractDT and FinalDT
— increment pageCounter
— Check App State to see if there is another page, using pageCounter in a dynamic selector
---- If next number (ie pageCounter) exists then click it (same dynamic selector as the Check App State), set morePages to True
---- If next number doesn’t exist, set morePages to False