Hi Brilliant team,
Looking assistance from big team. Facing issue in selector. Wildcard is not perfect.
Here is the selector
For aaname sometimes it would be Dow* and sometimes Download. So I need to add if condition in this selector though both will cover. So please assist me how to add if condition in this selector?
Note: Don’t want to use wildcard method.
Thanks in advanced
Refer to this please:
Can we have conditions in selectors?
Thanks in advance
Looking for sample
Could you let us know by
Dow* do you mean the literal character
* or the Wildcard
* being mentioned here.
If it is the wildcard being used, then it should match the word
Download as well.
But if it is the literal * then maybe we can achieve the selector validation with the help of regex matching like below :
aaname = '(Dow\*|Download)' matching:aaname='regex'
For more details on regex in Selectors Check the below post :
It is now possible to use Regular Expressions in your selectors. Follow this guide to learn how!
We have added extra syntax to the Selector Editor to allow for advanced configuration of your selectors.
As an example, I will be creating a selector that will be able to open a file whose name is dynamically changing.
Let’s assume I am receiving daily list of bills via email which are saved as a text file named ‘bills mmddyy.txt’, e.g ‘’bills 101019’. Now, I want to writ…
Let us know if it doesn’t work for your case.
@Jesmine - Try using fuzzy selector which enables to tune the selector to determine the matched data. Have a look on the below doc and video
About Fuzzy Search A selector contains a top-level tag which references the target window or browser tab. It holds attributes like title, process name, URL, window name, and others, which help you properly identify the elements you want to use in...
Fuzzy Selector - UiPath Video