Is it possible to change which properties are chosen by default in the selector when defining an activity?

I would like that the app recorder and the individual activities only use some properties chosen by me to define a selector. mainly I would like to use only the class and the automationid.

cheers

Hi @274f2b6343dcbfc5cee00ced8

UiPath allows controlling selector generation via Studio - Settings -UI Automation - Selectors.By enabling only class and automation id as preferred attributes, the App Recorder and UI activities will prioritize these properties when generating selectors.However
UiPath may still add additional attributes if required to uniquely identify an element.

Hope this help
Thanks & Happy Automation

Hi @274f2b6343dcbfc5cee00ced8 ,

Check this :

use Modern UI Automation, disable unstable attributes in Studio UI Automation settings, and manually clean the selector in UI Explorer to keep only class and automationid. Once cleaned, Studio will keep using that selector.

@nishiijain2000 & @Maheep_Tiwari

Could you please show where is this setting in Studio?

@274f2b6343dcbfc5cee00ced8

the selector attributes are choose automatically in the order there is no way you can control it

cheers

Hi @ashokkarale

@Maheep_Tiwari

These are targeting methods from Project settings. There is no control to predefine attributes to include and exclude from the selectors.

@274f2b6343dcbfc5cee00ced8 you will have to refine the selectors after indicating every Ui Element.

Hi @ashokkarale ,

I have written disable unstable attributes which mean toggle strict selector ,fuzzy selector etc..

And after that open UI explorer and manually build selector,

So what’s wrong in this ?

You are also saying same thing in different manner

These are not the attributes, these are Targeting methods

Ok my bad,got it .

I was trying to say this :disable unstable attributes in UI Explorer to keep only class and automationid