How to make bot click on each undefined links and extract data?

Hi,

We enter some code in an website and hit search.

It shows numbers of results found, it can be any number.

for ex: 52 results found, bot has to click on each link and download some data from that, come back click on next link.

how can i achieve this?

@geetanjali.nerlekar

Try using for each ui element activity and indicate the url’s and inside that you cna do your task of download and it would repeat for each link

cheers

Hi

you can achieve this with TABLE EXTRACTION and FOR EACH LOOP activity

  1. first with TABLE EXTRACTION try to get the URL of all the links you have in a datatble
  2. now use a FOR EACH ROW IN DATATABLE activity and pass that datatable and inside the loop use USE BROWSER activity and pass the row item as input which is a URL
    inside the browser scope you can perform automation you want

Hope this helps
Have a view on this on how to use TABLE EXTRACTION and FOR EACH ROW
https://docs.uipath.com/activities/other/latest/ui-automation/table-extraction

https://docs.uipath.com/activities/other/latest/workflow/for-each-row
Cheers @geetanjali.nerlekar

Hi,

im doing this in community edition, i think it has limited features

hmm not really these are available in community edition as well
@geetanjali.nerlekar

But im unable to find add data in the table extraction

table extraction is to prepare datatable from a webpage or any application with grid data structure
may i know why you would like to add data to it
@geetanjali.nerlekar

yes i got the data…
but im unable to find USE BROWSER activity, is there any package that i have to install?

or where do i get project setting in UiPath studio?

activity name is use application/browser

if you are classic set of activities its attach browser or open browser

just type as browser you will get to see it
@geetanjali.nerlekar

yes but browser activity doesnt work in my case…
because
i tried using open browser and set type Chrome…
in the URL i passed currentrow item…
but bot doesnt open that link from that page itself…
and chrome throws error

is there any activity to click?

when u r using browser like chrome or edge make sure you have the extension installed
only then bot will be able to interact with browser
@geetanjali.nerlekar
https://docs.uipath.com/studio/standalone/2020.10/user-guide/extension-for-chrome

yes extension is done…

but when we enter code and hit search, below that only i get 52 results…
below that 52 results, i have to click each link and open…

so browser activity doesnt help here, it is directly trying to open the CurrentItem, but i have to open it from the page that i entered code and got results

im trying to use click text activity passing currentitem, but it has to scroll down then only the text will be found

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.