Appium inspector is showing deallocated objects.
So I am seeing x instances of the same object, out of which only 1 is actually correct & visible( while rest are dead).
Appium tends to find the first such element and fails on performing a function(click,senkeys etc…) on the first instance(which is dead)
eg.
- I have a TableView T.
- I navigate to T
- Navigate to some other page(so that at the backend the objects are set to nil/deallocated)
- I navigate again to T.
- I inspector I find 2 entries for T. (say, T1 which is now dead & a current instance T2)
- My code fails on clicking the Tableview as it finds the dead object T1 first & tries clicking on it.
I am Using appium 1.2.0 & automating an app on Iphone 5s with IOS 7. I am using Java(Eclipse) on my Macbook.