The apk I use make use of Recycler View. Elements get added in the Recycler view on the touch of the Add button, which is presnet in the Recycler View
As the elements get added, the Add button moves to the end.
I use the code touch("android.support.v7.widget.RecyclerView id:'home_recycler_view'") to touch the Add button. It works only 2 times as the add button position changes after first 2 elements are added.
How can I precisely touch the Add button irrespective of how many elements are present on the Recycler View?