New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath-ARDv1 Exam - Topic 9 Question 116 Discussion

Actual exam question for UiPath's UiPath-ARDv1 exam
Question #: 116
Topic #: 9
[All UiPath-ARDv1 Questions]

What is the use of attribute when working with selectors?

Show Suggested Answer Hide Answer
Suggested Answer: B

Introducing Non-Greedy search in your selectors instructs it to search through all the active windows or browser instances that match the top-level tags of your selector, and not just the window instances in focus. Non-Greedy search makes use of theidx()attribute, which needs to be included in the top-level tag, as follows:

<idx='*'>searches through all active window instances for the element matching the top-level tag attributes.

Please note that the<idx='1'>option only searches through window instances in focus.

UiPath Documentation

Exam Topic:Describe how Tags and Attributes, Dynamic Selectors, Anchor Base, etc. are used in UI Explorer to create a robust selector in the Default, Active Accessibility, or UI Automation frameworks


Contribute your Thoughts:

0/2000 characters
Suzan
10 hours ago
I’ve used it before, but not sure about the best practices part.
upvoted 0 times
...
Yan
6 days ago
Wait, is it really best practice to avoid it?
upvoted 0 times
...
Latonia
11 days ago
Totally agree, it’s super useful for dynamic selectors!
upvoted 0 times
...
Rolande
16 days ago
I thought it was just for optional attributes.
upvoted 0 times
...
Bernadine
21 days ago
Haha, B) is a bit of a stretch. Searching through all window instances? That's overkill for a simple selector.
upvoted 0 times
...
Lanie
26 days ago
A) is just wrong. The [attribute] selector is a fundamental part of CSS and should be used when appropriate.
upvoted 0 times
...
Susy
1 month ago
D) sounds like the most useful option to me. Selectors that can handle dynamic attributes are really important.
upvoted 0 times
...
Carry
1 month ago
C) is the correct answer. The [attribute] selector is used to select elements with a specific attribute value.
upvoted 0 times
...
Theola
1 month ago
I thought the * attribute was related to dynamic selectors, but I might be mixing it up with another concept.
upvoted 0 times
...
Denny
2 months ago
I feel like the * attribute has something to do with searching through elements, but I can't recall the exact details.
upvoted 0 times
...
Dick
2 months ago
Ah, I see now - the [attribute] selector is for working with optional attributes. That makes sense, thanks for the clarification. I'll keep that in mind for the exam.
upvoted 0 times
...
Pamella
2 months ago
Hmm, the [attribute] selector could be handy for searching across multiple window instances, but I'm not sure if that's the primary use case. I'll have to think through the different scenarios.
upvoted 0 times
...
Jerry
2 months ago
I think option A is right. Best practices matter.
upvoted 0 times
...
Onita
2 months ago
I remember practicing a question like this, and I think the answer was about how it shouldn't be used according to best practices.
upvoted 0 times
...
Nelida
2 months ago
I think the * attribute is used to indicate optional attributes in selectors, but I'm not entirely sure.
upvoted 0 times
...
Joanna
3 months ago
I agree with C). The [attribute] selector is great for making your CSS more flexible and maintainable.
upvoted 0 times
...
Micah
3 months ago
The [attribute] selector seems useful for working with dynamic elements, but I'm not sure if it's considered best practice. I'll need to double-check the guidelines.
upvoted 0 times
...
Francisca
3 months ago
I'm a bit confused about the use of the [attribute] selector. I'll need to review the documentation to make sure I understand the different options.
upvoted 0 times
Eun
3 months ago
I wonder if using it dynamically is a good idea.
upvoted 0 times
...
...

Save Cancel