Touch support for desktop application

Ranorex Spy, Recorder, and Studio.
DavidMilner
Posts: 4
Joined: Thu Apr 14, 2016 5:29 pm

Touch support for desktop application

Post by DavidMilner » Thu Apr 14, 2016 10:11 pm

Hello,

When I record touch gestures, it is recognized and added to Recording1.rxrec, but when I play the recorded test, I can only see that the gestures performed (I see that touch cursor was blinking), but real action that the gesture needs to do does not occur. Is it known issue? Please help.

I tried all touch types (Touch,DoubleTap,TouchStart etc.)

Test type: Desktop
OS: Windows 10, 64 bits

Thank you,
David

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

Re: Touch support for desktop application

Post by odklizec » Fri Apr 15, 2016 11:05 am

Hi,

Which version of Ranorex are you using? Latest is 5.4.6 so if you are using something older, update it with the most recent one.

Also, what kind of GUI technology is using your AUT (java, wpf, etc...)?
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

DavidMilner
Posts: 4
Joined: Thu Apr 14, 2016 5:29 pm

Re: Touch support for desktop application

Post by DavidMilner » Sun Apr 17, 2016 11:09 am

Hello

I use the next version:

Ranorex Version: 5.4.6
.NET Runtime Version: 4.0.30319.42000

We use WPF GUI technology

I attach 2 snapshots (as explained at Ranorex site):
- MyWpfApplication_Whole_Snapshot_BySpy.rxsnp - is a snapshot of the main window
- HelloWorld_Snapshot_BySpy.rxsnp - is a snapshot of the text box on which I tried to perform touch and double-tap

As well, I want to attach screen snapshot video of my recording and playback.
Can you please write me which file extensions are allowed?

Regards,
David
Attachments
HelloWorld_Snapshot_BySpy.rxsnp
(27.41 KiB) Downloaded 49 times
MyWpfApplication_Whole_Snapshot_BySpy.rxsnp
(26.56 KiB) Downloaded 39 times

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

Re: Touch support for desktop application

Post by odklizec » Mon Apr 18, 2016 11:11 am

Hi,

Just to be clear, are you recording and running the test in tablet mode? Because I believe the touch-based actions are intended to be used just in tablet mode (on windows) and on mobile devices (Android/iOS). In desktop mode, I would suggest to stick with click-based actions.

Anyway, the app from your snapshots looks like a sample app without confidential information. I think it would be best to send this app (exe) along with your recorded test and description of your problem to [email protected]. Eventually, you can upload them (zipped) to a public file share service (google drive, one drive, etc...) and publish a link here.
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

DavidMilner
Posts: 4
Joined: Thu Apr 14, 2016 5:29 pm

Re: Touch support for desktop application

Post by DavidMilner » Mon Apr 18, 2016 1:43 pm

Hi

The application runs in desktop mode.
I did not see any official note that touch can be used for Tablet mode only (in spite of the fact that it is very logically).
So, your suggestion is to use mouse clicks rather than touch. Correct?

David

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

Re: Touch support for desktop application

Post by Support Team » Mon Apr 18, 2016 1:58 pm

Hello David,

Unfortunately, currently touch events just work on some elements on Windows 10. There seems to be an issue with the drivers. Please use mouse clicks instead of touch events as a workaround. I've already added an entry into our bug tracking system, but unfortunately, I'm not sure if this issue can be fixed on our side or if it is related to a windows issue.

Thank you for your understanding.

Regards,
Bernhard
.
Image

DavidMilner
Posts: 4
Joined: Thu Apr 14, 2016 5:29 pm

Re: Touch support for desktop application

Post by DavidMilner » Mon Apr 18, 2016 2:25 pm

Hi Bernhard,

Thank you for your answer

Regards,
David