Click activity fails

Scenario: bot trying to click on a user name on the portal, the target value is Ancona, Cynthia d’

First I scrape it off the screen as a table, it grabs Ancona, Cynthia d’, no issues, exactly what I expect, then I use assign to set this value to a variable and use the variable in dynamic selector as webctrl aaname=’*"+name+"’ for click activity. Here it fails.

When I check in locals it seems robot is selecting it as Ancona, Cynthia d&apos

I need advice on how to keep the name as assigned without apostrophe getting changed to &apos.

Steps to reproduce: Scrape value off screen, click a value using scraped data as input

Current Behavior:

Expected Behavior:

Studio/Robot/Orchestrator Version: v2018.2.2

Last stable behavior:
Last stable version:
OS Version: Win10
Others if Relevant: (workflow, logs, .net version, service pack, etc):

@Ancher can you share the link which you are scraping

it’s internal portal, I cannot(

@Ancher try this <webctrl omit:aaname=’* ’ tag=‘P’

Hey @Ancher,
can you please show me how you’re using the variable in the selector. I may be able to help you.

<webctrl aaname=’*"+name+"’ />

Seems like the Screenshot didn’t upload properly!
It’s showing me a blank comment! Could you do it again please

@Ancher don’t use open < and close > tag in the comments

this is a little weird, I’m unable to see your screenshot!

Or you can escape it. Like \< and \>


Hey @Ancher ,
Try using name=’ “+name.Substring(name.Length-1)+”* ’