I’ve converted my project from Legacy to Windows and updated all dependencies to latest versions. UiPath are 22.10.3.
I was able to handle all errors which appeared. Except one.
It seems that Ui Explorer in new version cannot find all selectors.
In Windows this selector works in Debug mode, but when I run it in production. It cannot find element.
I tried to Copy paste selector from Legacy, but it was even worse, it broke application.
@MateuszSzatkowski
First of all,the selector with idx is not reliable.please avoid selector as such in your workflow.Try to add anchor if possible to selector.
Also from what I can see, the top selector is different in the second screenshot you have the additional attribute [title].
Last thing you didn’t mention is updating production robot. If you updated your studio client but didn’t update production robot this may also cause a problem I guess.
Thank you for hints . I’ve tried with different options and still the same issue.
Production robot also is updated to lates version
[title] attribute doesn’t matter it is not working with or without it.
Regarding idx attribute. In Windows that is the only one which is available. In Legacy I have ‘tool bar’
What I’ve also checked, that application which is automated is build in 32 bit architecture. UiPath Windows is only 64 . Maybe that is the reason why Windows cannot find all selectors ?
What I’ve also checked, that application which is automated is build in 32 bit architecture. UiPath Windows is only 64 . Maybe that is the reason why Windows cannot find all selectors ?
That might be the case as well, however I’m not sure about it. It might be a stupid question but have you tried running it in Prod from studio? Not in debug mode but in Run mode.
Another thing which comes to my mind (if you didn’t check it yet) is checking the Visual Tree, from here when expanding selectors you may get a lower level selector or try a higher level selector. which will have more attributes on it.