I've been battling with this for about 2.5 days now trying to use the Android scroll methods and it gave me headaches. Your approach helped me solve and the tests now run CONSISTENTLY!.. Thank You sir!
@Gandolfof
3 жыл бұрын
Thank you a lot for this amazing tutorial. The only problem I see is teaching python. You are not responsible for teaching python in a tutorial like this. It takes a lot of time.
@praveenguptaful
4 жыл бұрын
This really helping us to learn Appium python during covid lockdown
@yogiswaru5272
3 жыл бұрын
This is great. Everything is clear and simple. Thanks a lot
@tahminaakter4749
4 жыл бұрын
Thanks a lot! You just saved me from app scrolling problem. Cope Automation Rocks !!
@ankitakumari1624
3 жыл бұрын
Hi, I am also using the same steps, but its not working. This is my code "TouchAction(driver).press(x=296, y=1135).move_to(x=302, y=672).release().perform()". What should i do please help me. My preferable language is python, python with appium
@Liv3fast
5 жыл бұрын
dude, my savior. the docs for this were fucked for some reason
@ДанилУлицкий-ч8н
5 жыл бұрын
Thanks so much for your lessons. I am working now, and if it were not for you, then I would be in the span)) Keep up the good work. You helped me a lot))
@CopeAutomation
5 жыл бұрын
Glad to hear this :)
@libinscuk
3 жыл бұрын
I tried the below multiple times and its not working for me. Can you please suggest an alternative? touch = TouchAction(driver) touch.press(x=473, y=1396).move_to(x=468, y=705).release().perform()
@mabdurrafeyahmed9256
3 жыл бұрын
@Libin, I found the same error And Found the solution by adding wait after pressing. For Example: touch.press(x=473, y=1396)..move_to(x=468, y=705).release().perform() You can change value of wait to see how this will effect the scroll.
@kousikable
3 жыл бұрын
Appreciate your videos brother, can you please help in handling date picker & also handing dropdown (instead of printing all the items from the list)
@rhhs
5 жыл бұрын
scrolling does not get performed for me at all. ended up using swipe function instead: ex) driver.swipe(525, 1950, 525, 1040)
@mohanr1199
4 жыл бұрын
driver.find_element_by_android_uiautomator('new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains("use hear your last text ").instance(0))')
@mabdurrafeyahmed9256
3 жыл бұрын
@genesis, I found the same error And Found the solution by adding wait after pressing. For Example: touch.press(x=473, y=1396).wait(500).move_to(x=468, y=705).release().perform() You can change value of wait to see how this will effect the scroll.
@TriWaZe
2 жыл бұрын
@@mabdurrafeyahmed9256 I didn't think that would work but it did! Thank you! I was going nuts trying to figure this out.
@j.c.l5932
Жыл бұрын
How to zoomin and zoomout with the most recent appium library?
@sachishmaharjan5595
4 жыл бұрын
Please also do one for selenium using python and appium.
@nikolozchitashvili1015
3 жыл бұрын
YOU SAVED MY LIFE!
@rahuldash9499
2 жыл бұрын
Thanks a lot , Do you have any tutorial for creating FW (BDD) with python appium . It will be really useful for QA like us.
@danilitr0
4 жыл бұрын
I used your solution, i did the simulation in appium server just to scroll to an element, but in my mobile device, the scrolling ends in the bottom, not in the desired position, is there something more exact?, i use appium 1.16
@adityashrivastava3474
3 жыл бұрын
Brother by taking co-ordinate its not working on different resolution device any idea!? How we can do that
@GayathriVineeth-zq3go
Жыл бұрын
scroll not working. TouchAction(driver).press(x=166, y=760).move_to(x=166, y=321).release().perform() What to do
@marinalight327
4 жыл бұрын
Thank you for the lesson :) I wonder is it possible not to use absolute coordinates? I'd like to run tests on different devices so I guess it won't work on others
@CopeAutomation
4 жыл бұрын
You can achieve this using a ternary operator to decide which one to choose as per the device
@youvanced6593
4 жыл бұрын
@@CopeAutomation can you elaborate?
@creatur
3 жыл бұрын
Can we make a application to do all this automation (like open calc and do things). I mean cam we make a apk by all of this program files.
@automateboringstuffwithraj
Ай бұрын
Make a new video on to scrape product details (atleast first 20 products) from Amazon app
@AnastasiiaSou
3 жыл бұрын
Thank you!!!
@youvanced6593
4 жыл бұрын
So what made the scrolling suddenly work?
@mabdurrafeyahmed9256
3 жыл бұрын
I found the same error And Found the solution by adding wait after pressing. For Example: touch.press(x=473, y=1396).wait(500).move_to(x=468, y=705).release().perform() You can change value of wait to see how this will effect the scroll.
@riyabamzai8183
3 жыл бұрын
Hi Sir , how can we automate toggle buttons using python script
@ankitakumari1624
3 жыл бұрын
I followed the same steps to scroll page but not getting scroll at all. PLease reply
@mabdurrafeyahmed9256
3 жыл бұрын
@Libin, I found the same error And Found the solution by adding wait after pressing. For Example: touch.press(x=473, y=1396).wait(500).move_to(x=468, y=705).release().perform() You can change value of wait to see how this will effect the scroll.
@mariayakubovich7989
10 ай бұрын
@@mabdurrafeyahmed9256 thanks!
@ankitakumari1624
3 жыл бұрын
I have to scroll the page till end . Please give me some suggestions for the same using appium with python for android.
@Zaphodikus
Жыл бұрын
2 issues here - missing the key quality coding points: 1. hard coded sleep instead of waiting for an event 2. hard coded swipe coordinates - why not use the parent control coordinates and calculate the start and end of the swipe to lie just inside the control?
@nortski78
4 жыл бұрын
Apparently this doesn't work on the AVD Android emulator
@nortski78
4 жыл бұрын
Scroll is not working on emulator or real device. I can see the press action being performed but the move_to(), release(), and perform() are not actioning.
@mabdurrafeyahmed9256
3 жыл бұрын
@@nortski78 @Libin, I found the same error And Found the solution by adding wait after pressing. For Example: touch.press(x=473, y=1396).wait(500).move_to(x=468, y=705).release().perform() You can change value of wait to see how this will effect the scroll.
@nortski78
3 жыл бұрын
@@mabdurrafeyahmed9256 Hi. Ah yes I managed to figure it out in the end :)
Пікірлер: 41