TouchStart()/TouchMove()/TouchEnd() on iOS

Mobile Testing, Android App Testing.
gakeller
Posts: 2
Joined: Wed Nov 21, 2018 5:41 pm

TouchStart()/TouchMove()/TouchEnd() on iOS

Post by gakeller » Wed Nov 21, 2018 5:50 pm

Are these methods still unsupported on iOS?

I am attempting to use the following:
repo.BookView.Page.PageInfo.WaitForExists(Duration.Parse("10s"));
repo.BookView.Page.Page.TouchStart(startLocation);

There is more code, but it fails at TouchStart() so the remainder is irrelevant. My error message is: Cannot process request. There is no valid request hander for the methodcall 'ReplayTouch' registered

I'm using Ranorex 8.3.0. Failing with iOS 11.4.1 and 12.1

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4047
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: TouchStart()/TouchMove()/TouchEnd() on iOS

Post by odklizec » Thu Nov 22, 2018 8:34 am

Hi,

I believe that Swipe gesture is currently the only equivalent of TouchStart/TouchMove/TouchEnd on iOS? I think there must be a technical difficulty/iOS restriction, which prevents Ranorex from supporting TouchStart/TouchMove/TouchEnd gestures on iOS?

I would suggest to try "Swipe" and if it does not meet your requirements, start an official support request via their support form here:
https://www.ranorex.com/support-query/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

gakeller
Posts: 2
Joined: Wed Nov 21, 2018 5:41 pm

Re: TouchStart()/TouchMove()/TouchEnd() on iOS

Post by gakeller » Mon Nov 26, 2018 4:36 pm

The idea is to test a free drawing functionality in our app, so I wanted to draw a circle by connecting points on the circumference spaced 0.01 radians apart. I did end up implementing it with a series of discrete swipes, but 628 swipes takes an excessive amount of time and is probably not really testing the same thing exactly as drawing a continuous line.

I'd be curious what iOS technical limitation would allow drawing of straight lines using swipes, yet prevents more free-form touch and drag interaction. It's a pretty big hole in Ranorex iOS functionality.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11720
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: TouchStart()/TouchMove()/TouchEnd() on iOS

Post by Support Team » Thu Nov 29, 2018 6:11 am

Hello,

I'm sorry to inform you that drag and drop is not currently supported for iOS. If this feature is important to you, I would highly recommend submitting a feature request via our User Voice platform. User Voice lets Ranorex users submit and vote on ideas and improvements for Ranorex. The nice thing is that User Voice is reviewed by our product management team so it really is a great way to get your idea implemented.

The Ranorex User Voice can be found at this link.

If you do end up submitting a feature request, please feel free to link it here so that others may vote on it as well.

I hope this helps!

Regards,

-Jon
.
Image