Need your advice on this one. Whenever I include aaname=‘“+in_Year+”’ on the selector and run the workflow, it keeps on saying the element is not found. Is there another way to have aaname activated on the editor? Please see captured error below:
Click ‘BUTTON’ : Cannot find the UI element corresponding to this selector: ",
Instead of adding the aaname in directly in the selector, assign a variable to “aaname='” + in_Year + “'” and then use that variable in your selector. I believe only * and ? can be added directly in the selector.
Hi @AshwinS2, I think @Iyce_Winsoft wants to use a variable (in_Year) in his selector. * can be used in a selector but don’t think it will help him locate the target he’s looking for.
When I use the aaname=‘—’, it recognize the element. however, when you change it to in_Year, throws an error saying the element is not found. I remember something similar to this case from the security hash assignment. I’ll try to dig on this. Also, I try the suggested wildcards.
Look at the attached workflow. You can assign the selector using your in_Year variable to another variable and then use it as your selector in whatever activity you’re using.
Hello @Iyce_Winsoft,
I’ve been struggling with this the last hour. Apparently it’s a bug that happens if you open the “Selector Editor” and try to insert “” into it. The ‘" +in_Year+"’ will be converted to "e; +in_Year+ "e; instead, resulting in the error.
Hey @Iyce_Winsoft have you done this error with click button for in_Year?
How do you set the selector ? Coz i’m facing this error too. Can you show me how to set the selector and how to set the dynamic selector ?
Thanks…
Please use ‘“+in_Year+”’ inside your selector as Steven mention on his post. Also to add up somthing, try to include idx=‘1’ or tag=‘A’ at the end of the selector the for selecting the month. Let me know if you need help on this.