Drawing in an iOS App

Mobile Testing, Android App Testing.
Patrick Hollerbach
Posts: 21
Joined: Thu Jan 02, 2014 4:00 pm

Drawing in an iOS App

Post by Patrick Hollerbach » Tue Dec 13, 2016 8:44 am

Hi,

we have a iOS App with a paint-function for making notes.
How can we automate the drawing?
I recorded the drawing action but ranorex registers only touch and longtouch events.
I tried to use TouchStart, TouchMove and TouchEnd, but it seems that they are only available for android?

Thanks for any help
Patrick

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

Re: Drawing in an iOS App

Post by odklizec » Tue Dec 13, 2016 9:34 am

Hi Patrik,

I'm afraid, the only substitute for TouchStart, TouchMove and TouchEnd actions on iOS is currently Swipe gesture. I know, It's not quite the same, but it may help? ;)
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

Patrick Hollerbach
Posts: 21
Joined: Thu Jan 02, 2014 4:00 pm

Re: Drawing in an iOS App

Post by Patrick Hollerbach » Tue Dec 13, 2016 11:20 am

Hi,

I already tried to use swipe gesture, but without success :-(

Regards
Patrick

zivshapirawork
Posts: 62
Joined: Wed Sep 24, 2014 7:47 am
Location: Israel

Re: Drawing in an iOS App

Post by zivshapirawork » Wed Dec 14, 2016 11:23 am

maybe code an algorithm (USerCode) that decides where to touch on the screen and the effect will be like drawing manually.

Patrick Hollerbach
Posts: 21
Joined: Thu Jan 02, 2014 4:00 pm

Re: Drawing in an iOS App

Post by Patrick Hollerbach » Wed Dec 14, 2016 12:45 pm

I already tried to work with simple touch commands to simulate drawing, but with touch I get only simple dots. I have to draw long lines.

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

Re: Drawing in an iOS App

Post by Support Team » Fri Dec 16, 2016 2:17 pm

Hi Patrick,

Unfortunately I'd need additional information about your current system and Ranorex installation.
May I ask you if you could provide this information?
Please also let me know if you could send me a copy of your non-instrumented application.
This would allow me to get a better overview about the used controls.

Thank you in advance.
Regards,
Markus (S)
.
Image