Issue while passing variable in selector

I am trying to pass dynamic value to a selector using variable.
PFA screenshot

I assigned this selector to a string variable and passed the variable in selector field.Error was “String constant must end with in a double quote”

1 Like

Keep the selector in a single line instead of multiple lines.



Just concatenate the first and second line using + (the html line and the webctrl one)

So it should look like


1 Like

Woww nice, i was experiencing this same issue on a project this morning so i decided to check the forum. Your contributions here are really really helpful.

Thanks, your recommendation worked