Unable to click when string includes special characters

Hello,

i am entering copr ids in field using type into activity and when last name, first name promts the i am clicking on name using click activity.
this worked for all corp ids excluding only one copr id in which last name contains " ’ "
like below
Bab’h, Fgai

help me on same , how can i click if special chara is there i tried with silulate tpe checked but npot worked.
i can see for click selector properly fetching name with ’ but not clicking on name.

You can replace special char with wild card (?) char. More info here about wild in selector here

str_Name = System.Text.RegularExpressions.Regex.Replace(str_Name,"[^a-zA-Z ]","?")

after replacing the special char in str_name, use new str_Name in selector.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.