Running on OSX 10.9.5 with Xcode 6.1, using an iOS 7.1 simulator, writing my tests in Java, and using Appium 1.3.4 and I think Java-client 2.1.0.
This used to work wonderfully and the tests completed perfectly. Ever since the release of Xcode 6.1 and iOS 8.1, however, it has not at all, even after Appium updates. (Nevermind that testing on an iOS 8.1 simulator doesn’t even get far enough to get to the scrolling code.)
I’ve tried using driver.scrollTo(“label”), driver.scrollToExact(“label”), and driver.swipe() to find an element outside of the current frame in my app. I used to use a wrapper function that somebody else wrote who initially created the tests that I inherited, which would call swipe and calculate how to move based on an xpath passed to it. But that doesn’t work, so I tried calling the three methods directly and still nothing. Now nothing visually happens and all of my tests fail on the next line (so the scroll action itself supposedly doesn’t fail…) - which checks that an element is displayed by xpath. Which they aren’t, because it won’t scroll.
I’ve not been able to find anything that actually fixes this problem for me and could really use some help…