Select test object by indexing
Select a specific test object from multiple test objects located by indexing.

//*[@class = 'android.widget.TextView' and (@text = '2059010625' or . = '2059010625') and @resource-id = 'com.cardinalhealth.vantus.debug:id/tv_account_id']
@text = '2059010625'. In this case, you can remove the text attribute and apply indexing to differentiate between objects.Follow the steps to select a test object by indexing: