The Problem of Constantly Clicking the Same Name on the Website

https://www.firmasec.com/ is a process where you enter the word to be searched on the site, click on each company name that comes up, get the phone number in it and write it in excel. I wrote the process in the while loop, but the click process is always done to the first company. It does not pass to the second company. Can you help me with this part?

target: “”

Hi @tsofli,

Check for the unique selector using Open UI Explorer of Click activity.
You should find a unique selector like rownum or idx per company.

In your case, bot is always clicking on same company as it’s always finding the same selector and not unique.

When I write the counter variable where it says 3, it does not accept

When counter is selected, I get not found error when I save

Hi,

You can not add your own attribute like idx, if it’s available in selector tree in right pane like isleaf, aaname etc. then you can add it to the selector.

Could you please share the one company name (e.g. AKABE …), I will test from my side and let you know.

@tsofli

will You have any list of company names which you need to click ,

If not then you need to use another attribute which makes you unique

hope this helps

sample word to search; mobilya

I want to write the names and phone numbers of all companies in excel. The phone numbers are written inside the companies.

@tsofli

the company name is Fixed like mobilya

inside that you need to click on the companies which are there inside it

For that You need to use Datascraping to extarct all the companies

later use For each row in datatable,

1.inside use click activity
2.use two get text activities to get the email and phonenumber

Hi,
data scraping is not working because it is not in table logic. My problem is that I can’t enter every company and get their phone number.

@tsofli

can you share any sample xaml which you are using

Main.xaml (75.2 KB)

@tsofli

have you tried with the pass a variable in the

type into activity in the place of aaname=str_keyword

I am a beginner developer. so can you guide me in a simpler way? I know the type into activity but I don’t understand how to use it.

@tsofli

can you check the below code which i have done

forumquestion.xaml (14.5 KB)

cheers