# Smart Selector

**URL:** <https://forum.uipath.com/t/smart-selector/122462>\
**Category:** Studio\
**Tags:** selector, enhanced-selectors, completed, studio, uiautomation, activities\
**Created:** [June 4, 2019, 11:42am UTC](https://forum.uipath.com/t/smart-selector/122462 "2019-06-04T11:42:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuldip.gohil](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kuldip.gohil/32/25065_2.png) [@kuldip.gohil](https://forum.uipath.com/u/kuldip.gohil)\
**Post date:** [June 4, 2019, 11:42am UTC](https://forum.uipath.com/t/smart-selector/122462/1 "2019-06-04T11:42:26Z")

</div>

Can we have concept like smart selector?:

It would be good if we have option like “Smart Selector” in all the UiAutomation activities so our selectors can be less strict and UiPath automatically tries different permutation combination of selector in addition to default selector and if default is not found within particular timeout value it can go with better option which it has retrieved from smart selector.

Few points we need to take care of:

1. We should notify user to use this feature at their own risk.
2. We can give some options for smart selectors e.g. ignore case sensitivity in selector

Ideally all developer should follow best practices and make reliable selector but sometimes they are facing challenges when they are working on applications where continues updates are going on they have multiple version of application deployed on different environments .

Any thoughts or ideas on same line?

Please vote if you think this is a good to have feature.

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [June 6, 2019, 1:36pm UTC](https://forum.uipath.com/t/smart-selector/122462/2 "2019-06-06T13:36:54Z")

</div>

Hi @kuldip.gohil

Great suggestion!

We would really like to hear everyone’s ideas on this topic. Who knows what will come to UiPath in the future 🙂

---

<div class="post-metadata">

**Author:** ![Boopathi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/boopathi/32/149890_2.png) [@Boopathi](https://forum.uipath.com/u/Boopathi)\
**Post date:** [June 6, 2019, 1:38pm UTC](https://forum.uipath.com/t/smart-selector/122462/3 "2019-06-06T13:38:50Z")

</div>

Yes, it is an excellent idea. The only concern is why user needs to be notified to use at their own risk or the information can be given in some other way.

---

<div class="post-metadata">

**Author:** ![snoopy](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/snoopy/32/182258_2.png) [@snoopy](https://forum.uipath.com/u/snoopy)\
**Post date:** [October 1, 2019, 6:38pm UTC](https://forum.uipath.com/t/smart-selector/122462/4 "2019-10-01T18:38:14Z")

</div>

Case insensitive selectors would be awesome.

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [October 1, 2019, 7:18pm UTC](https://forum.uipath.com/t/smart-selector/122462/5 "2019-10-01T19:18:41Z")

</div>

You will soon be able to use Regex in your selectors, together with some fuzzy matching 🙂

---

<div class="post-metadata">

**Author:** ![sandeep13](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sandeep13/32/79017_2.png) [@sandeep13](https://forum.uipath.com/u/sandeep13)\
**Post date:** [October 1, 2019, 11:12pm UTC](https://forum.uipath.com/t/smart-selector/122462/6 "2019-10-01T23:12:31Z")

</div>

That’s great news @loginerror

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [October 14, 2019, 1:31pm UTC](https://forum.uipath.com/t/smart-selector/122462/7 "2019-10-14T13:31:36Z")

</div>

Please check out these topics of recently introduced new features!

> [@\#FeatureBlog - 19.10 - Using regular expression (Regex) in the selector attributes](https://forum.uipath.com/t/featureblog-19-10-using-regular-expression-regex-in-the-selector-attributes/159015):
>
> It is now possible to use Regular Expressions in your selectors. Follow this guide to learn how! What’s new? We have added extra syntax to the Selector Editor to allow for advanced configuration of your selectors. Let’s begin 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…

> [@\#FeatureBlog - 19.10 - Using non-greedy search in selectors](https://forum.uipath.com/t/featureblog-19-10-using-non-greedy-search-in-selectors/159022):
>
> What’s new? The Non-Greedy search makes it possible to identify the target element from a pool of similar applications, matching the attributes you specify. Let’s begin As an example, let’s assume I am automating two Calculator applications which are opened simultaneously: I want that my automation spies these two Calculator applications for the entered number 100 in any of them and execute some steps afterwards. Thus, I am using the following selector: With the cu…

> [@\#FeatureBlog - 19.10 - Fuzzy string matching for your selectors](https://forum.uipath.com/t/featureblog-19-10-fuzzy-string-matching-for-your-selectors/159036):
>
> What’s new? Fuzzy string matching is a technique to search strings which are not a 100% match and match the specific pattern approximately, rather than exactly. Let’s begin Let’s say I want to create a selector which needs to be resilient to user typos or similar user input with a key work I expect to be entered a search field. First, I have opened up a [bing.com](http://bing.com) in my borwser and searched for ‘UiPath certification‘ text: [01] When I get a selector for the input field, the ‘title’ attribu…

---

<div class="post-metadata">

**Author:** ![Kimberleyieshaa](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kimberleyieshaa/32/175111_2.png) [@Kimberleyieshaa](https://forum.uipath.com/u/Kimberleyieshaa)\
**Post date:** [December 22, 2020, 10:57pm UTC](https://forum.uipath.com/t/smart-selector/122462/8 "2020-12-22T22:57:23Z")

</div>

I was wondering, is it possible to include both regex and fuzzy search in one selector together?

---

<div class="post-metadata">

**Author:** ![gheorghestan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/gheorghestan/32/177011_2.png) [@gheorghestan](https://forum.uipath.com/u/gheorghestan)\
**Post date:** [December 23, 2020, 11:03am UTC](https://forum.uipath.com/t/smart-selector/122462/9 "2020-12-23T11:03:10Z")

</div>

Yes, both regex and fuzzy search options can be used in the same selector, for different attributes.
