Hello,
My English is not very good ,
so If these is any word weird,I'm sorry.
First,I want talk about the chinese double quotation mark [“].
Usually [“] is just an Character Like a,あ,阿 And it is 2 byte,
I don't kown why but in UiPath Studio most of the time [“] just equels ["] like this.
So actually, [“] can be used as a text without write twice,
but only on when write it directly as string,
if I write it in a function,it will be an error.
Then this is the problem,
In selector,["] will be converted to [&/quot/;],but [“] just [“].
After UiPath.UIAutomation.Activities upgrade to 21.4(or earlier but not 20.10),
When I use a variable in seletor,it will become to a String.Format funtion.
So if the selector string contains [“] And I try to use a variable in this seletor,
error occurs.
If I write [“] twice ,error disappeared,
but uielement cannot be recognized of course.
In 20.10 or earlier ,there isn't any funtion appears in selector,so that's all right.
I know there is some way can avoid this problem,
but I hope it can be fixed.
thanks.
In this forum, some special characters including double quote are automatically convert to other character. For example "abc" is automatically converted to “abc”. (0x22 to \u201c and \u201d)
So can you use preformatted text (the above </> button) to show more accurate character or share your text as file?
Sorry I’m using another account to reply because I’m home.
Thanks for your advice.
I know I can use char code with regex or put that part into a variable or just use wildcard to avoid this problem.
But other people like beginers ,they just do right thing and an error occurs.
So I hope official can fix this.