I have a badly identified selector that looks like this
This one ofcourse only works when notepad file is named ggg. So instead of hardcoded string ‘ggg’ I want to use a variable named ‘notepadName’
Can anyone please paste the correct selector as an answer for me?
if you want dynamic name, just replace the entire title for an asterisk (*), and the selector will recognize any title. (thinks that’s your problem), or if you want to use the selector in a variable just use the assign activity.
The use of * can cause problems further on in the process so that’s not an option here.
I tried assigning a variable and I’ve red through the UiPath documentation I could find but it still doesn’t work.
So if anyone could just post the right answer here I would be very greatful.
Welcome to uipath community
Kindly have a view on this that would help you in how to use variables in selector
This tutorial will teach you how to easily use variables in your selectors. In other words, we will be making dynamic selectors without the use of the old method of concatenating strings. How cool is that!
For the purpose of this tutorial, I will make 1 click in the Notepad app.
Feel free to also reference our documentation here.
1. First, we will indicate the element we want to click on. In this case, it will be File menu in Notepad:
This results in the…