Cannot assign variable to selector on uipath studio community

I am new to uipath. I want to open different browser with only one use applications activity and change the browser variable by selecting the browser of choice but i cannot add my variable to the selector. Once i added the varible, it shows an error. I added it with {{variable}} but it changes to (x)variable.

Hi,

It seems version matter of UiAutomation package. The following is screenshot of same dynamic selector in UiAutomation 20.10.11 and 21.10.4

UiAutomation 20.10.11

img20211223-1

UiAutomation 21.10.4

img20211223-2

If yours is same as the above, it’s no problem. Please check if it works in actual.

Regards,

2 Likes

@PhonePyae_KyawSwar

Welcome to forums

You done correct only, When you are passing the variable to selectors it always shows you validation as error, because Variables get the values at the run time only

So, better check in debug mode whether selector is working or not

Hope this may help you

Thanks

1 Like

Hi @PhonePyae_KyawSwar

Another alternate method is by coping the selector to note pad !

and Change the attribute value = β€˜"+YourVarname+"’ and paste in a selector in properties panel Enclosed the whole selector with Double Quotes!

Regards

1 Like