ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 150 - AD01 discussion

Report
Export

Please refer to the exhibit.

A Developer encountered an error while trying to highlight an element and realized that there are multiple similar elements on a web page with the same name Which of the following Attributes should be used to acquire a unique match?

A.
Web Text
Answers
A.
Web Text
B.
Ordinal
Answers
B.
Ordinal
C.
Web Element Type
Answers
C.
Web Element Type
D.
Match Index
Answers
D.
Match Index
Suggested answer: D

Explanation:

When encountering an error due to multiple similar elements on a web page with the same name, it's crucial to use an attribute that ensures a unique match.

Match Index (Option D): This attribute is specifically designed to handle situations where multiple elements have similar properties. By setting the Match Index, you can specify which instance of the element should be used, ensuring a unique match.

The other options are less effective in this scenario:

Web Text (Option A): This may not be unique if multiple elements have the same text.

Ordinal (Option B): While it indicates the order, it's less precise compared to Match Index.

Web Element Type (Option C): This doesn't help in distinguishing between multiple similar elements.

Reference Consult Blue Prism's best practices for dealing with web automation and handling multiple similar elements on a page. The Match Index attribute is commonly recommended for these cases.

asked 16/09/2024
Miguel Bakker
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first