IDX is only idenfier generated to use in the object

Any recommendation of using IDX as only the one identifier that generated selector.

Please help.

Selector generated:

image

@mhygz1985,

Yes, you can make it based on IDX attribute but first you try to identify 2 or 3 elements in the screen and check IDX attribute value. If it is fine then make it based on that.

Is IDX change when there’s update on the application? Or that idx generated based on the number of object available in the application… I’ve noticed that IDX is changing from to time to time.

Hi @mhygz1985,

Yes the IDX value changes often based on the application and you can never depend on IDX value, always try to make a selector without idx,ctrID or AutomationID these values change often.