The Non-Greedy search makes it possible to identify the target element from a pool of similar applications, matching the attributes you specify.
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 current selector default options, the selector search is done only in the application in focus, while the other similar ones matching top level attributes are ignored. See below, how the Calculator app in focus displays 99, and the secondary one displays 100, and the selector remains invalid:
in the top level selector will instruct the code to do the search throughout all the opened application, not only the one in focus. Thus the selector becomes valid:
And this is how you can empower your selectors to be more reliable and do a broader search for the target application
That’s it for this #FeatureBlog
Please provide your valuable feedback about this feature! Our product team is hungry to build upon the basic functionalities so feed them your ideas
Don’t be shy, click on and tell us what you think or do it directly from Studio !
As always, thank you for reading and happy automating!