Playback issues with Ranorex Touch Action

Mobile Testing, Android App Testing.
gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Playback issues with Ranorex Touch Action

Post by gilbar16 » Tue Mar 17, 2015 9:46 pm

Hello,

In the process of evaluating Ranorex 5.3 and running into issues with UIDatePicker in an iOS application. I believe our developers use Kendo UI and iOS multi-select controls.

The Recorder records the Touch / Center / <date field> which prepopulates the date field or you can scroll up and down the Date Picker to select a different date.
During Playback, Ranorex does not find the UIDatePicker item.

How do you handle this UIDatePicker popup calendar so Ranorex recognizes it at all times (record + playback)?

Additional info...
Besides the UIDatePicker, the Touch Action also fails in invoking single and multi-item pop up list, fails to check/uncheck checkbox controls identified as WebElements class "km-widget km-icon km-check", and groupbuttons (see samples in uploaded attachment).

Thanks.
Gilbert
Attachments
03262015_6.PNG
03262015_6.PNG (246.09 KiB) Viewed 1642 times
03262015_2.PNG
03262015_2.PNG (256.64 KiB) Viewed 1642 times
Last edited by gilbar16 on Fri Mar 27, 2015 4:53 pm, edited 3 times in total.

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

Re: UIDatePicker - handling with Ranorex Studio

Post by Support Team » Wed Mar 18, 2015 3:18 pm

Hi Gilbert,

Unfortunately I was not able to reproduce this issue on my side.
May I ask you to provide a small sample application (inclusive XCode project)?
This will help us analyzing the issue on our machines.

PS:
If you don’t want to post your application here in the public forum you can send it to [email protected]
Thank you in advance.

Additionally, please check if your RanoreXPath is robust and unique in order to find the element on every test run.

Please find more information about the RanoreXPath on the following links
User Guide
Blog post

Regards,
Markus (S)
.
Image

gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Re: UIDatePicker - handling with Ranorex Studio

Post by gilbar16 » Wed Mar 18, 2015 4:13 pm

Hello Support Team,

Thanks for checking on this.
We only have like 10 days left to complete our evaluation process on Ranorex that's why I am asking more rather than researching more on my own.

Unfortunately, I could not send you a sample copy of our app since it is all tied up with our database and other systems for it to work. I'll ask our dev team though if they can create a simple app that has this KendoUI pop up control. We are also evaluating Ranorex 5.3 so Xcode is not necessary for this version, as we were told.

I just talked to one of our developers and he told me they use iOS multi-select controls (like in the sample screenshots) and Kendo UI controls (which I have not checked out yet).

Sorry, I thought it is just the UIDatePicker that Ranorex identified but, it is the same control used for fields where one or more items can be selected from this pop up list control similar to the DatePicker.

I could not paste screenshots here so I uploaded them as attachment.

As you can see, the Ranorex Recorder was able to record the Touching of the date field but on Playback, the DatePicker popup list is not coming up.

Any tricks here that I can try to force such KendoUI pop up control to show up on the screen during Playback?

Thanks.
Gilbert
Attachments
sample recorded code on KendoUI pop up list control such as DatePicker.png
sample recorded step for KendoUI DatePicker pop up control
sample recorded code on KendoUI pop up list control such as DatePicker.png (19.6 KiB) Viewed 1695 times
03182015_2.PNG
sample 2
03182015_2.PNG (249.31 KiB) Viewed 1695 times
03182015_1.PNG
sample KendoUI pop up list control
03182015_1.PNG (184.81 KiB) Viewed 1695 times

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

Re: iOS multiselect pop up controls - with Ranorex Studio

Post by Support Team » Thu Mar 19, 2015 2:08 pm

Hi Gilbert,

It seems that the control listens for a specific action to occur, do you know for what action the picker listens?
Is it necessary that the specific pop up is shown, or is it sufficient to just set the value of the specific text field?
Since it seems that the value will be properly set.

XCode is no longer necessary for instrumentation purposes with Ranorex 5.3, but the code would allow us to analyze in detail for what event or action the specific control listens.

Could you maybe post a Ranorex snapshot of your app? This would allow us to check which element is referenced by the used repo items of your screenshot.

Regards,
Markus
.
Image

gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Re: iOS multiselect pop up controls - with Ranorex Studio

Post by gilbar16 » Thu Mar 19, 2015 8:55 pm

Hello Markus,

I sent a copy of the snapshot to Jay (Jason Branham) yesterday so I hope he can share that with you. Jay is trying to help out on any issues we are running into during the Evaluation period of Ranorex.

The field that is tapped/touched to invoke the pop up/picker controls does not even let you set focus on to such field so user is only able to select data from the pop up list (including the calendar date). According to Jay, this iOS picker controls used to work in iOS version 7 and got broken in iOS 8. It would have been much easier to automate if these native iOS controls would accept keyboard input too similar to a combo box then for sure, we can have so many ways to work-around the problem.

The behavior I observed during playback is that, for example, if the date field is field #4 and the previous field is a regular textfield or textbox (such as for entering Name), the cursor appears on this previous field as if Ranorex playback is OFF by one, meaning I issued a Touch on field 4 (date field) but I see the cursor blinking on field 3.

Let me try uploading the snapshot here anyway...

Thanks.
Gilbert
Attachments
Snapshot_03192015_from_Gilbert.rxsnp
new snapshot
(79.45 KiB) Downloaded 78 times

gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Re: Playback issues with Ranorex Touch Action

Post by gilbar16 » Fri Mar 27, 2015 5:00 pm

(Please see additional info and screenshots in the original post.)
We are almost finished with the Ranorex evaluation process and the only work-around that seems to handle the issues with the Touch Action during Playback is the use of Invoke Action / PerformClick() which sometimes does not work.

We are hoping to see a better solution soon so we could highly recommend this Ranorex test tool to our management team.

Thank you for all your support.
Gilbert