I have an Android application written using Phone-gap.
Issue i am facing is that when i get button by their id and perform ‘click event’, wrong actions are performed.
For example.
When i click on an email button in my app, gmail client should pop up but instead it goes back to the previous menu.
Sounds like maybe you are either using the incorrect locators, or your app has duplicate IDs.