Appium Scroll/Swipe | Horizontal & Vertical | using PointerInput & Sequence class
HTML-код
- Опубликовано: 8 сен 2024
- #appium_java_tutorial_qavbox #appium #java-client #mobiletesting #hybridapp #automationtesting #appiuminspector #android #scroll #swipe
This video will explain how to effectively scroll/swipe Horizontal & Vertical using PointerInput & Sequence class.
TouchActions class is deprecated, so we need to use an alternate approach using Sequence class.
Appium java-client releases -
github.com/app...
Sauce labs react mobile apps (Android and IOS ) -
github.com/sau...
Complete tutorial - bit.ly/qav_app...
code base - github.com/sun...
Subscribe to this channel -
bit.ly/youtube...
Blog posts -
qavalidation.com
Make me awake & feel fresh always, so I can bring lot's of interesting topics for you all, Buy me a coffee?
buymeacoffee.co...
One of the best and detail info provider of a method, Thanks sir :)
Thank You, These information are really valuable
Great work, appreciate if you can upload a video on how elements can be recognised using "findelementbyimage" locator in appium 2 which can be used for visual testing
Thank you so much for this video. Really helpful.
Exelent work sir thank you so much
Thanks, glad it helps!
It helped.. Thanks a lot sir.
Thanks .Really helped me
Thanks. Perfect
Thankyou for detailed Explanation. What if we wants to keep on scrolling until the element is visible ? How do we do it w3c api concept?
eg. scrolling amazon / flipkart pages.
Why we are not using the javascriptexecutor for scrolling ?
Starting from appium 2.x and java-client > 7.x, touchAction and javaScriptexecutor are deprecated.
Thanks for the detailed video..
QQ: how do you handle Horizontal scroll until the end of the rail/carousel?
You can use getPagesource() to see if we are end of scroll vertically. I discussed about scrolling till end vertically but same can be applied to scroll horizontally
Refer ruclips.net/video/M1AFgaunfBQ/видео.html
@@qavbox Thank you ❤
Hello, Thanks for information, This swipe method works multiple real devices ?
Hello, yes the swipe method should work irrespective of size or models of mobile devices.
I cannot find the swipe method in your code base link, can you please share?
Please refer to this link
github.com/sunilpatro1985/AppiumTest_Java_And_iOS/blob/master/src/main/java/base/Util.java
Hi ,
Just wanted to check if this works on IOS and Android.
Thanks
It should work on both the platforms!
i tried this but didn't work for me. can someone help me here
What error you getting, you have to provide proper source and destination coordinates to scroll. Please share your code if you have in git