The xpath used to access a text field does not seem to work with a driver instantiated with above capabilities
//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[1]/UIATextField[1]
The same xpath works fine for ios , 7.1 and ios 8.0 on iphone 5s simulator
You may try the following xpath: //UIATableView[1]/UIATableCell[1]/UIATextField[1] (just remove “UIAApplication[1]/UIAWindow[1]”). This workaround helped me to make my tests work under all platforms (including iPhone 6/iPhone 6 Plus).
if there is more than one UIATableView in different UIAWindow,How to distinguish them?
for example:
//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[1]/UIATextField[1]
and
//UIAApplication[1]/UIAWindow[2]/UIATableView[1]/UIATableCell[1]/UIATextField[1]