How to scroll the screen using element ids…code plz…
use Touch Action instead of Scroll… to achieve desired result
Tq for ur response…i used this type of action but it did’t work for me…
WebElement element = driver.findElement(By.id(“com.qwerty:id/test”));
Actions actions = new Actions(driver);
actions.moveToElement(element).perform();
please send me the code which is exactly scroll the screen for particular element.
Thx…
in appium Action not work it is for selenenium
Code…
TouchAction ta=new TouchAction(driver);
ta.press(element).moveTo(el).perform
Explore Touch Action their are many more commands that can help you
Sometimes if element is not visible on screen, we can not scroll,
so you can use swipe as an alternate option like swipe screen up and down,
for the code you can refer bit.ly/qav-apmScroll ,
let us know if this doesn’t work.