Code execution fails on different studio desktop app

Hello,

I created a studio desktop code for a java application on my system. It is executing fine but when I shared the project with my colleague, he getting errors


Error ERROR Validation Error The indicated element does not belong to the target application/browser. Control Table Category Update.xaml

He has opened the code in Ui Path studio app and updated his credentials in code.
Thanks,
Avanti

Hi @Avanti

because their selectors don’t match the target app. Try to update selectors by re-indicating UI elements on a machine with the colleague’s environment or access.
use more reliable selectors with wildcards, remove hardcoded paths, and share the updated project files ensuring compatibility with their UiPath version and Java setup.

If helpful, mark as solution. Happy automation with UiPath

Thank you for the reply.
Do you mean I will have to update almost all selectors again?
Regards,
Avanti

Yes almost , might be some selector work but you have to fine tune and debug that.

Happy Automation

You can also check here:

If you found helpful, Mark as a solution Thanks

First fix the window selector, for UI activity and cheek if this resolves this issue. Else you have to work on each selector.

How did you share the code? It seems like maybe you didnt share everything properly?

1 Like

Open the browser and your web page on your colleague laptop in which you’re performing automation and then try if still the error encountered then change the selectors or reindicate the automation.

If this needful then mark it as SOLUTION

Happy Automation

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