Ask a Question

Swipe up is not working but swipe down is working in iOS Application

SOLVED
jsrockx
Occasional Contributor

Swipe up is not working but swipe down is working in iOS Application

Hi All, 
I am working on iOS application , i do use on screen function wPropertyY to set the screen on y axis, but on another screen this function is not available, so i used the Swipe (start x, start y, end x, end y ) function. This is the Function that is not doing anything but it is passing on the Testlog. to see the values please see this function. by the logic it should scroll down the screen.
 this_will_do_nothing.pngMobile ScreenMobile Screen

This function works successfully but for the swipe down the screen. Please see the values in the image
swipe_up_is_working_on_the_same_screen.png

Note: if it is working and swiping the screen for swiping up it should also work 

5 REPLIES 5
YuriPeshekhonov
SmartBear Alumni (Retired)

Hi,

 

We would like to investigate this behavior. Please create a support case and send us your non-instrumented .ipa file. We will try to reproduce the issue on our side. Thanks! 

Regards,
Yuriy Peshekhonov
Customer Care Engineer
jsrockx
Occasional Contributor

The solution was the area was away from for the window we want to swipe, that's why swipe method was not working to scroll up the screen.

Hi,

 

Thank you for the update on the case.

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
anhvu
Frequent Contributor

Hello,

 

I am starting to develop scripts for my iOS app.

 

and I try the swipe method but it didn't work.

 

Mobile["Device"]("Test’s iPhone")["Swipe"](500, 1700, 5000,1000)

 

Does TestComplete support this function for iOS?

anhvu
Frequent Contributor

Never mind. I used ScrollToItem() method as mentioned above and it worked as my expected.

cancel
Showing results for 
Search instead for 
Did you mean: