You can get an idea from below post
https://forum.uipath.com/t/how-to-use-a-variable-in-webctrl-aaname-variable/1192