UIPATH fails while screen recording!

selector
uiautomation
scraping
datascraping
uipath

#1

Hello Folks,

I’ve been using UIPATH for a long time, and loved this tool. Quite easy to understand how things are getting automated in the background . I have created different workflows for many processes. But I am annoyed with an issue the tool brings in each time I run the workflow which is: While I use SCREEN RECORDING , I am getting errors, mostly “Selector not found” .
But when I run the workflow normally, there is no issue at all and it is working perfectly!!!
But whenever I use screen recording to record the activity, I am getting the above errors and at times, I’ve felt that it spoils my entire workflow. I’ll have to edit the selectors and run again.

What might be the reason for this??? Is there any alternate software where we can easily record our running bot :frowning:
Screen recording softwares (Original version) used are
Ispring
AVS video editor


#2

when you edit selector are you specifying them for the particular session or you making it generic…? if it is generic it should handle everytime.


#3

Thank for quick response !

I didnt get u exactly, can you be more specific??

Whenever I get the error, I 'll edit the attach browser by using the “Attach from live element” .
Actually,the error itself is not same all times, I wud end up in multiple errors…
Sometimes, While running, the cursor vibrates and fails to click the element.
All this happens only while screen recording and not otherwise :slight_smile:


#4

yes when you do “Attach from live element” every time may the value of some attribute may change everytime like iD or index or name of particular attribute so try to replace ID by * and try


#5

Thanks a lot. I’ll give a try on that!


#6

@Divyashreem

Hello , I know its been several months , but still I cant find a perfect answer for this issue. Uipath fails to run the bot at times.
ss

This is the selector of excel sheet. So where should I use the ’ * ’ symbol in order to make it generic.
The problem is, I have created this workflow 3 months back. But now when I run the workflow I am getting "Cannot find Ui element " error. It was working smoothly back then. But now, I have to select and indicate each and every activity which is tiring .
ss1

This is example of another selector.

This is a frequent error


Completely confused. Really need a help on this.


#7

Dear UnicornStark,

Due to the error in red that you’ve highlighted at the bottom of your screen, I believe that you need to place the Send hotkey activity inside of the Excel Application Scope.

One more question, what exactly are you trying to achieve with this?

Regards.
Bogdan


#8

@Bogdan_Coman
Thanks for pointing out that.
Sendhotkey was already inside the recording sequence,but thankfully now resolved that issue.

I need to do some calculations inside excel worksheet,save the file and mail it .
I used Screen Recording to do that. Worked fine. But now when I run the workflow, the various click activities inside the recording sequence is not working. Then I indicated live element for each and every click activities, thus worked.

But my question is, do we have to indicate each and every time, does the screen element change frequently. Or, what is the way to make it generic so that whenever I run the bot , it should work. (Especially when I run it after a gap or when I send the xaml file, it should work on their enviornment)

A help on this is really apprecialble
Thanks in advance!


#9

Dear UnicornStark,

If you need to perform calculations inside of excel my recommendation is to read the entire excel file and perform the calculations in background. Also if the calculations are very complex you can use excel macros(be careful to rename the file into .xlsm format if you want to apply macros) and after that call using Execute Macro activity.

One thing after another, I would not suggest to perform the calculations by clicking on the elements, because as you can see selectors can frequently change, but if you’re reading the entire excel file and perform the calculations in the background(and the format of the file remains the same), then the probability of failure is very low.

Regards,
Bogdan


#10

And can you replace the value of wnd cls=’*’…? and give a try?


#11

I have the same problem with screen recording. i am using ShareX and one click will not work when i record the screen. Do you know any other software that will work everytime? The error is selector not found when i record. I used Simulate Type, Sendwindowmessages, click before type, everything.


#13

@bogdan_margarit @UnicornStark

it’s a known problem, at least for me.

from my experience OBS doesn’t collide with UiPath


#14

Hello!

I´ve been dealing with the same problem, the record I use is the one on microsoft power point.

The selector works with highlight activity but not on the typing one.

Does anyone know if there is another way to record without errors??

Thanks!