Any update done once in a month the selector is changing

Hi all,

Any changes or updation done, the selectors are changing. What is the solution for this problem.
Please guide me on this.

Hi @lakshmi.mp

  1. Use Wildcards:
  • Identify the changing part of the selector.
  • Replace the changing part with an asterisk (*) in the selector.
  1. Use Partial Selectors:
  • Identify the stable part of the selector.
  • Use only the stable part in your selector.
  1. Use Anchor Elements:
  • Find stable elements close to the changing elements.
  • Use them as anchor points in your selectors.
  1. Retry Scope:
  • Wrap your activities with changing selectors in a Retry Scope.
  • Allow the automation to retry a few times if selectors fail.

@lakshmi.mp

Please make the selector as Fuzzy

Use Wildcards

Use Anchors to identify the target element easily

Regularly update your selectors using UiPath’s UI Explorer.

Implement retry mechanisms in your workflows to retry activities that fail due to selector changes. This can be done using the “Retry Scope” or “Retry” activities.

Hi @lakshmi.mp
you can also add one or more anchors to make more stable and resilient to changes.

Hi all,

Instead of using the selectors can we use computer vision?

Hi @lakshmi.mp

As you mentioned, Computer Vision can be helpful for dynamic interfaces where selectors frequently break. Train custom object classifiers to recognize visual elements regardless of their technical properties.
→ i would suggest to play around with strict selector - Use stronger attributes like aaname , class , index , or wildcards in conjunction with unique identifiers like text content or position relative to other elements.

Cheers!