How to handle the Selectors with Multiple IDX values?
If an idx is generated it means that multiple elements with same selector exists and the nth element is identified. This order can change easily if the target application suffers minimal changes. The best approach is to change the selector at design time in a way that idx is not needed.
Use wildcards in the selectors or using the concept of dynamic selectors. Additionally, refer to the below links: