indiedev91
(Indie Dev 91)
September 24, 2022, 2:20pm
1
While learning UIPath, I came across a task where I had to highlight each UI element that is being used.
The UI elements are usually highlighted when the process is running in debug mode
If I have to perform the same thing while executing it, what should I do?
Hello @indiedev91 ,
For highlighting a process during its execution, you could use the Highlight activity.
Please refer to https://docs.uipath.com/activities/docs/highlight
Best regards,
Marius
Hi@sagar.raval
Use can use “Highlight Activity”
Give Selector of that element. It will hight and move for next steps. But it will highlight for few seconds.
indiedev91
(Indie Dev 91)
September 24, 2022, 3:54pm
4
Can you please clarify if I have to use highlight activity for each UI element activity separately
Even if I have to, how do I link them both since either the highlight activity should be before or after the UI element activity?
What can I do to make both of them work simultaneously?
Hello @indiedev91 ,
Please check this solution:
Hi
Welcome to uipath forum
You can try with CLICK TEXT activity where you can mention the text you want to be clicked so that it will click on it
If you want to know the position as a uielement then
Use FIND TEXT POSITION activity where pass the text you want as string and get the output as a uielement
Then pass that uielement output as input to ELEMENT property in HIGHLIGHT Activity
Then use a CLICK ACTIVITY where pass the same uielement output as input to ELEMENT property
In this …
You should use the same uiElement for the highlight and click (or whatever UI activity) you are using.
I believe you can add them within a Run Parallel Process activity (link: https://docs.uipath.com/activities/docs/begin-process
Hope it helps.
Best regards,
Marius
Sanjit_Pal
(Sanjit Pal)
September 26, 2022, 4:57am
6
Hello @indiedev91 ,
In the debug ribbon of the studio there is an option Highlight Elements you can enable it and can see the highlighted elements while debugging.
Thanks,
Sanjit
Hello @indiedev91
Do you need it as part of development?
Thanks
indiedev91
(Indie Dev 91)
September 26, 2022, 5:04am
8
I know that but i want to use the same functionality while executing the process
Sanjit_Pal
(Sanjit Pal)
September 26, 2022, 5:07am
9
have a look on this documentation.