How to swipe in appium real device my swipe is
Deprecated
in the latest android studio 2.3.3
i am using java client 5.00 BETA 6 in eclipse
appium server desktop 1.7
i tried the following method none works
following code does not not swipe the page down
i am trying to swipe in device setting to click down page which is
not visible in view
1. new TouchAction(driver)
.longPress(393, 446)
.moveTo(1902, 407)
.release()
.perform();
2. driver.swipe(startx, starty, endx, endy, duration); its depreceted
3.
MobileElement element = (MobileElement)
driver.findElement(By.xpath("//android.widget.TextView[contains(@resource-
id,'title') and @text='Display']"));
JavascriptExecutor js = (JavascriptExecutor)driver;
HashMap<String, String> scrollObject = new HashMap<String, String>();
scrollObject.put("direction", "down");
scrollObject.put("element", ((RemoteWebElement) element).getId());
scrollObject.put("text", "Memory");
js.executeScript("mobile: scrollTo", scrollObject);
please help me to overcome from this i in deed stuck with this last
2 weeks please help me to overcome from this
Also please help me to swipe from left to
bottom as i need to know about
swipe in details i in deed stuck in
appium swipe please help me come out out of this i tried lot of method
大多数情况下它不会工作请帮助我也请帮助我从左到下滑动,因为我需要详细了解滑动我确实卡在了如何在 appium 真实设备中滑动我的滑动已弃用提前谢谢