Change selector of data scraping table dynamically

Hi guys! Im quite new to UIPath so bare with me please.

I want to scrap data of a table in a website which is inside a drop-down menu. I need to search for the appropriate drop down menu and scrap the table that appears. At this point i cannot associate the selector to the drop-down element, having as a result to always scrap the data of the 1st drop-down element which was done using the recording.

To be more specific, following the screenshot provided, i want to search for the flat number from an excel, click on the drop-down element to revealed the table, and scrap the data of that table. My problem is that I am always ending up with the data of the 1st table and i cannot find a way to associate the selector with the right drop-down element.

Appreciate any help :slight_smile:

Hi moon_amlet,

If my understanding is correct that you want to scarp data from the drop down you can do the following thing:
1:Click activity on the drop down from where you want the data(make sure all the others closed).
2. Next just extract the required data from the table using get text or Anchor Base(In case you just specific component in the table).

Hope I gave sensible solution.

Can I have the url of the website so that I can try from my and end and try helping you out.

Hi NivedithaK,

Thank you for your prompt reply. I need to extract the whole table, that’s why i used data scrapping. The problem is that while i am using the recorder, the selector is fixed to the table of the 1st flat “11550”. Please have in mind that i am reading the number of the flat from an excel sheet, so is not like i want to extract all tables for all flats (the drop down elements). I am reading the number i.e. 11553, and using the “Click text” function to open the desire table, but the selector is fixed on the table of the flat 11550 (as used from the recording), and i end up copy the same data over and over again.

I hope i haven’t confused you.

Here is a link of the website: “h t t p://eservices.dls.moi.gov.cy/#/national/geoportalmapviewer”

Select the english version :slight_smile: Moreover i please find below some navigation guidelines in order to get to the screen shared in the post above.