What are the ways to overcome or reduce selector problem?

One way is i know using WIlD Card.

1 Like

Hi
Welcome to uipath community
Let’s go one by one
—first thing that comes to mind when we want to fix the issue with selector would be WILD CARD as you said. Yes if we want to make our selector dynamic then we need to replace the dynamic attribute value with WILD CARD
—followed by that the next would be VARIABLES. That is if we want to replace a attribute value with dynamic value we can pass Variables to attribute values like this for example
aaname = ‘ “ + variablename.Tostring + “ ‘

And if we are passing variables then we need to pass the whole selector as a string value between double quotes to the SELECTOR property of any activity in its property panel

—And another resolution would be we can create a ANCHOR BASED tags in the selector itself.that is rather using a Anchor base activity we can select a element and a attribute property as a Anchor element and choose its near by Attribute as Target Element

Hope this would help you
Cheers @Akshay_patil

1 Like

Thank you @Palaniyappan

Cheers @Akshay_patil

Hi @Akshay_patil

There is a feature in Studio that allows you to use variables in your selectors, please see here:

1 Like