hello I’m struggling with this question. Can you give me the answer with an explanation

A developer indicated a UI element for a Click activity. The automatically-generated selector shown below, had unreliable components. The web application is known to change the layout and order of elements.

Which attribute is stable in the automatically-generated selector? • A. title • B. idx • C. css-selector • D. app

Hi @hafi.abdesslem, welcome to the Community.

Title attribute in the selector seems to be stable component in the automatically generated selector. So, the correct option will be A.

Hope this helps,
Best Regards.

1 Like

Hi @hafi.abdesslem
IDX is a dynamic variable that can change depending on the page load. I would go for Tiltle as the others seem to be unreliable as well.


1 Like