How to identify the element if all elements are having the same id,name,class and index?

How to identify the element if all elements are having the same id,name,class and index?