kindly dont pass the variable here in the selector editor
the way you have mentioned like ’ " + B2.ToString + " ’ is perfect, but when we are trying to pass the variable to a selector, once after mentioning the variable in the selector, we need to copy the whole selector from selector editor and pass that as a string value between double quotes to the SELECTOR - PROPERTY in the property panel of Click activity
parentid = ’ " + B3.ToString + " ’ tag =‘A’ "
like this between double quotes as a string to the SELECTOR property
this would work for sure
the reason is when we are adding the variable as it is in selector editor itself it wont take the variable and its value while clicking the element and thus gives us this error
even after passing the variable and the selector as a string to the property if that doesnt click then we need to check the selector and its attribute
kindly try this and let know for any queries or clarification