Impact of Source Code Changes on UiPath Selectors

Hello UiPath Community,

I’m curious to know if making changes or adding properties like ‘Id’ in the original source code of a Desktop application would affect UiPath selectors. Can someone shed light on this?

Thanks in advance!

Hi @govindani.k

It may not effect all the Ui activities for all selectors, it may effect for some of the Ui element capturing. If you use the dynamic selectors by passing any variables in the attributes in Ui explorer those activities will fail in capturing the selectors.

Get all the Ui activities which is throwing exception Ui element not found in debug mode, for those activities reindicate the Ui elements.

Hope it helps!!

1 Like

Hi @govindani.k,

I would say the answer is depending.

You can have a selector for an element that does not use the ‘Id’ property. So in this case, if the ‘Id’ changes, your code shouldn’t be affected. If you have the ‘Id’ property in your selector, then most likely it will be affected and you might need to change it.

It shouldn’t affect any other selectors unless you are using the UiPath ‘idx’ property. In that case, if you add the same value to multiple properties/html elements, it might affect the code as well.

Cheers,

1 Like

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