Page 1 of 1

Playback issues with Ranorex Touch Action

Posted: Tue Mar 17, 2015 9:46 pm
by gilbar16
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

Re: UIDatePicker - handling with Ranorex Studio

Posted: Wed Mar 18, 2015 3:18 pm
by Support Team
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)

Re: UIDatePicker - handling with Ranorex Studio

Posted: Wed Mar 18, 2015 4:13 pm
by gilbar16
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

Re: iOS multiselect pop up controls - with Ranorex Studio

Posted: Thu Mar 19, 2015 2:08 pm
by Support Team
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

Re: iOS multiselect pop up controls - with Ranorex Studio

Posted: Thu Mar 19, 2015 8:55 pm
by gilbar16
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

Re: Playback issues with Ranorex Touch Action

Posted: Fri Mar 27, 2015 5:00 pm
by gilbar16
(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