How to avoid ActionBar and Ensure that ClickOnText() targets only List view (or handling multiple list entries with same name for ClickOnText())

view story

http://stackoverflow.com – Scenarios list View with action bar and some list view entries Action Bar Entry1 Entry2 Entry3 Entry4 Now I need to tap on the list entries one by one given the input "entry name" Input is dynamic SO in some cases there is possibility text in entry names can be there in Action Bar too, because of this click On Text() is tapping on Action Bar instead of Actual list entry which I am interested in Another simple scenario could be have two list entries with same name. How can we ensure that click On Text() taps on both the entries, How can this be distinguished?? (HowTos)