Selector not find - Excpetion : Could not find the user-interface (UI) element for this action

Notice that when it fails, the wizard tells me that it was able to find a selector that is NINETY-NINE PERCENT similar!! (99%).
What am I doing wrong?

Hello everyone, I hope you can help me.
I have a situation that in principle should be simple but I can’t get it to work and I don’t understand why it doesn’t work. I will try to describe the problem in detail so you can help me.

The objective of the automation is to enter a web page, and after a couple of steps it opens a web page where several buttons appear where each button has the name of a client, and the objective is for them to click on the button that has the name of a particular client and not the others. I have saved the client’s name beforehand in a variable

image

and the selectors are:

Notice that when it fails, the wizard tells me that it was able to find a selector that is NINETY-NINE PERCENT similar!! (99%).
What am I doing wrong?

Looks like the dot is doing the difference
grafik

hi, thanks four your reply

Yes I saw it. But shouldn’t the fuzzy selector find it?

can be, cannot be. Can depend on some more details factors related to all selector definition details

how about a general wildcarding at the end?

It may also be good to do some RnDs by adapting/removing the check
grafik

Sorry, but what does RnDs mean?

I’ll try removing the text check.

I understood that being in the fuzzy selector did not have to match 100%.

Research and Development -prototyping to get more insights on a case / issue…

as mentioned

e.g is fuzzy also activated within the targeting methods

1 Like

Hey @Matias_Clemente.Arg

Can you please mention what is the argument in_RazonSocial consisting?

Hi @Archana_Gulli , thanks for your repply.
It is the name of the companies that appear on the buttons.
If I am working with a company called “Company 1” there will be a button that says in the text “Company 1”.

Hello! Thanks for the clarification.

I am testing this option, apparently it is the solution, today I will try with a larger data set and if there are no errors I will mark your answer as a solution. Thanks

@Matias_Clemente.Arg

Can you please open the explorer and send the snip of ID of strict selector…?

1 Like

Hello, sorry for the late response.
I understand that by explorer you mean the UiPath explorer, so I paste what I interpret that you are asking me
One more thing that I don’t know if I clarified, every time I enter the page, the number of clients varies, therefore the number of buttons also varies.

Hey @Matias_Clemente.Arg

Try removing table row attribute from the selector and retain only aaname.

this is how the descriptor remained

and get this error

One thing that catches my attention (although I don’t know if what I think is correct), the error that I get says in the name of the company as “URTURI MARIA KARINA”, when the company that sent in the argument is “ODONTO SMILES S.A.S”

In any case, I would like to say that following the suggestion of eliminating text checking worked correctly, although I still have a question whether or not the fuzzy selector should use text checking.

Hi @Matias_Clemente.Arg,
I had a similar issue, where the following solved it: Add a check app state indicating the desired element,then in the element exist part add the use application activity with the browser open to the exact page with the element, there add the click on activity on the element you’re checking with the check app state element.

1 Like

Thank you very much, that’s a clever solution.

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