Exam UiARD All QuestionsBrowse all questions from this exam
Question 134

A developer created a workflow that extracts the invoice number for different order IDs in a web application. The following selector represents the selector structure for a 6-digit order ID 123456.

Assume only the order ID value changes in the selector and there is a defined list of 6-digit order IDs.

The developer needs to fine-tune the selector to work only for a pre-selected list of order IDs. What represents an example of a good selector?

    Correct Answer: B

    For a web application scenario, a good selector should include relevant information to uniquely identify the element while being flexible enough to work with the given list of order IDs. The selector should adjust the aaname attribute for the different 6-digit order IDs. Option B includes a dynamic selector that accommodates the changing order ID by using a variable or a pattern. This approach ensures the selector will work for all the pre-defined order IDs.

Discussion
Engineer24Option: B

B is the correct answer !

sur_bhi123456789Option: B

B is correct