0

I am using SeeTest + Selenium Webdriver + JAVA for Automating a Android application

There is one contact page there are 15 fields . After filling 5th field the keyboard is overlapping the 6th fields so i need to scroll down for adding 6th fields and so on

But i am not able to scroll the page in automation so please help me regarding this SCROLL issue

1
  • May you want to show which par of your code is causing the issue?
    – Rao
    Jun 18, 2016 at 5:05

2 Answers 2

1
   client.elementSwipeWhileNotFound("NATIVE", "id=nav_drawer", "Down", 0, 2000, "NATIVE", "text=History", 0, 1000, 5, true))

or normal scroll method available to use-

  client.scroll(500,500);
1
  • COuld you add some more information so that the original poster and anyone else with the same problem can understand when to use the scroll method vs swipe while not found; any extra initialization they might need and so on. That will make this a much better answer.
    – Kate Paulk
    Jun 28, 2016 at 16:47
-1
   executor.swipeWhileNotFound(direction, offset, element);
1
  • 1
    Could you add some description around this code snippet? Your code might be exactly what the OP needs, but without context the original poster and others with the same problem may have trouble using your suggestion.
    – Kate Paulk
    Jun 28, 2016 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.