How to add wildcard in aaname category of a click function

In a string variable i have a number stored. Eg. 1234
but further down the process this number is appended with a random string.
How can i direct the click to the particular number.
i changed the aaname to the variable in which the string is stored, but how to add the wildcard.
should it be inside quotes or inside the curly brackets?

@karan_kapoor1
for using variables in selectors have a look here:

for adding the wildcard give a try on aaname=’{{YourVarName}}*’ e.g. for being flexible on the end of string

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