Hi,
am using the latest version of appium(1.3.4.1) and i have more than 10 options in the list.am trying to launch 10th option from the list bu using ScrollTo("About App) /ScrollToExact(“About App”) and its scrolling up but not below.Loop is keep on continuing untill i stop…
and also used driver.swipe(600, 700, 600, 200, 2) and launches other option from the list rather than scrolling.
using appium 1.2 ,wrote a swipe function as below and works fine but in 1.3.4.1 this is not working.(Quitting out of the application)
/public void swiping(Double startX,Double startY,Double endX,Double endY,Double duration)
{
JavascriptExecutor js = (JavascriptExecutor) driver;
HashMap<String, Double> swipeObject = new HashMap<String, Double>();
// swipeObject.put(“touchCount”, 1.0);
swipeObject.put(“startX”, startX);
swipeObject.put(“startY”, startY);
swipeObject.put(“endX”, endX);
swipeObject.put(“endY”, endY);
swipeObject.put(“duration”, duration);
js.executeScript(“mobile: swipe”, swipeObject);
}/
Any suggestion for an iOS fix (assuming this only works for Android based upon method names)? Can’t get any scrolling working, either by swipe or scrollTo/Exact in iOS.