I have to click on each name to perform some actions
I would web scrape the name’s URL link too but when I try to web scrap it does not have any so I need onther logic to be able to click on each name
My data extraction has only the names
Does anyone know how can this work?
1 Like
Hi @siteltower ,
You can try with the “Find Children” activity, it has helped me a lot.
1 Like
Hey
Can you show me first sector from the hyperlink(names), and second one as well please I have an idea
Regards
Please open your UI explorer from the Uipath ribbon and then select the name, it will give you a selector, that’s what we need
And then do it for the second name and show the selector as well
Thanks I tried that but it keeps clicking on same name instead of clicking on each name
Can I add a counter to the tableRow selector then? would it make sense?
yep, that is the idea, the selector corresponding to the name?
if yes we can replace the value of the table row, and put a counter to make a dinamacly click
Never did before how would that work on uipath?
copy that selector and paste it here as text please so i can help you
it will be similar to this
between the tablerow value your right click and the use variable, select your variable and hit ok
remember to increase your counter variable
2 Likes
Hi @siteltower ,
While we are Inspecting the Selectors, did we also try using the Find Children Activity
,
If you do get the UI Elements in this Activity, then it would be just the use of For Each
and Click
, where we would iterate through each UI Element found and pass the Ui Element as the Element
Property for the Click
.
As there is no need to save any data, and just to perform the Click on each of the Elements, this should work.
1 Like
<webctrl ui5-colLabel=‘Tasks ()’ ui5-tableRow=‘0’ ui5-tooltip=' ’
Hi there
I did all that and that’s how the process is now
The problem is that it keeps clicking on the same name instead of clicking on each name
remember to put it in a single line like that
1 Like
It should be in the table row attribute not in inner text
Hi @siteltower ,
Check the post below on How to use the variables inside the Selector :
This tutorial will teach you how to easily use variables in your selectors. In other words, we will be making dynamic selectors without the use of the old method of concatenating strings. How cool is that!
For the purpose of this tutorial, I will make 1 click in the Notepad app.
Feel free to also reference our documentation here .
Let’s begin!
1. First, we will indicate the element we want to click on. In this case, it will be File menu in Notepad:
[image]
This results in the…
We would need to create a String variable and then use that String variable inside the Selector.
In your case, you would need to have a String variable, say str_name
.
Using an Assign Activity
before the Click we assign the value to this variable :
str_name = int_nameCounter.ToString
Then in the Selector, we can use the variable as below :
innertext = {{str_name}}
1 Like