UiARD Exam QuestionsBrowse all questions from this exam

UiARD Exam - Question 47


You want to identify a selector for a button in an application. The selector will be used as the target in a Click activity.

In order to ensure the Click activity executes as intended, how many elements should the selector be valid for at runtime?

Show Answer
Correct Answer: B

A selector for a button in an application should be valid for 1 element only at runtime to ensure the Click activity can accurately and consistently target the correct button. Having the selector match more than one element could lead to unexpected behavior and errors, while a selector matching zero elements would mean the button cannot be found or interacted with.

Discussion

2 comments
Sign in to comment
LarcAi_TrainingOption: B
May 23, 2024

The given answer is correct

IngvarnOption: B
Nov 22, 2024

Answer B