Different way to Scroll in Appium in Android and IOS devices.

Welcome back to Appium tutorials in this post we will discuss how to scroll in Appium.

Recently I got an application where I had to scroll down to click on that element.

I have worked on web application automation extensively so I used to do with JavaScript Executor.

If you have never used Java Script Executor then I would highly recommend to check below the article.

Java Script usage in Selenium

It helped me for Highlighting elements, Scroll into View, Scroll pages and so on.

 

But I become helpless when I switched to Mobile application because above methods were not working for me.

 

Methods for Scroll in Appium

I did some googling and found that AndroidDriver class has inbuilt method which performs scroll till the element not found.

Please check the Appium reference where you can find multiple articles on Appium

Complete Appium guide for IOS and Android

 

Please check below Screenshot.

 

First Method-

As you can see the description this will scroll until element not found with text.

Scroll in Appium

 

 

Second Method

This method also will perform scroll method but this will search for exact text for scrolling.

 

Scroll in Appium

Program for Scroll in Appium

 

This is very small article but a very helpful. Try from your side and let me know if an issue in Appium.

Recently I launched blog for discussion http://forumsforqa.com/

 

104 Comments

  1. Biswa bhusan Mishra
  2. Mukesh Otwani
  3. Mukesh Otwani
  4. Mukesh Otwani
  5. Mukesh Otwani
  6. Mukesh Otwani
  7. Mukesh Otwani
  8. Mukesh Otwani
  9. Mukesh Otwani
  10. Mukesh Otwani
  11. Mukesh Otwani
  12. Mukesh Otwani
  13. Mukesh Otwani
  14. Mukesh Otwani
  15. Mukesh Otwani
  16. Mukesh Otwani
  17. Mukesh Otwani
  18. Mukesh Otwani
  19. Mukesh Otwani
  20. Mukesh Otwani
  21. Mukesh Otwani
  22. Mukesh Otwani
  23. Mukesh Otwani
  24. Mukesh Otwani
  25. Mukesh Otwani
  26. Mukesh Otwani
  27. Mukesh Otwani
  28. Mukesh Otwani
  29. Mukesh Otwani
  30. Mukesh Otwani
  31. Mukesh Otwani
  32. Mukesh Otwani
  33. Mukesh Otwani
  34. Mukesh Otwani
  35. Mukesh Otwani
  36. Mukesh Otwani
  37. Mukesh Otwani
  38. Mukesh Otwani
  39. Mukesh Otwani
  40. Mukesh Otwani
  41. Mukesh Otwani
  42. Mukesh Otwani
  43. Mukesh Otwani
  44. Mukesh Otwani
  45. Mukesh Otwani
  46. Mukesh Otwani
  47. Mukesh Otwani
  48. Mukesh Otwani
  49. Mukesh Otwani
  50. Mukesh Otwani
  51. Mukesh Otwani
  52. Mukesh Otwani
  53. Mukesh Otwani
  54. Mukesh Otwani
  55. Mukesh Otwani
  56. Mukesh Otwani
  57. Mukesh Otwani
  58. Mukesh Otwani
  59. Mukesh Otwani
  60. Mukesh Otwani
  61. Mukesh Otwani
  62. Mukesh Otwani
  63. Mukesh Otwani
  64. Mukesh Otwani
  65. Mukesh Otwani
  66. Mukesh Otwani
  67. Mukesh Otwani
  68. Mukesh Otwani
  69. Mukesh Otwani
  70. Mukesh Otwani
  71. Mukesh Otwani
  72. Mukesh Otwani
  73. Mukesh Otwani
  74. Mukesh Otwani
  75. Mukesh Otwani
  76. Mukesh Otwani
  77. Mukesh Otwani
  78. Mukesh Otwani
  79. Mukesh Otwani
  80. Mukesh Otwani
  81. Mukesh Otwani
  82. Mukesh Otwani
  83. Mukesh Otwani
  84. Mukesh Otwani
  85. Mukesh Otwani
  86. Mukesh Otwani
  87. Mukesh Otwani
  88. Mukesh Otwani
  89. Mukesh Otwani
  90. Mukesh Otwani
  91. Mukesh Otwani
  92. Mukesh Otwani
  93. Mukesh Otwani
  94. Mukesh Otwani
  95. Mukesh Otwani
  96. Mukesh Otwani
  97. Mukesh Otwani
  98. Mukesh Otwani
  99. Mukesh Otwani
  100. Mukesh Otwani
  101. Selenium learner

Leave a Reply