App get crashed while tap on element in iOS Instrumented app

Mobile Testing, Android App Testing.
aravin
Posts: 47
Joined: Mon Mar 09, 2015 7:43 am

App get crashed while tap on element in iOS Instrumented app

Post by aravin » Fri May 08, 2015 7:02 am

Hi Team,

We are facing iOS app crash issue while tap on some elements after instrumenting with Ranorex Library. It is working fine withoug Ranorex Library. I am facing this issue for long time.

@Ranorex Team, kindly give me the solution asap.

Why this crash happening?

Device OS: iOS 8.0
Ranorex : 5.3.0
Ranorex Lib : 2.0.0

Sorry, I can't share screenshot of app.

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

Re: App get crashed while tap on element in iOS Instrumented app

Post by odklizec » Fri May 08, 2015 7:19 am

Hi,

The crash you are referring to sounds like a known limitation in Ranorex 5.3.0, which does not fully support iOS 8.3 (maybe applies to 8.0 too). The problem should be already fixed in the latest Ranorex 5.3.2.

See this post...
http://www.ranorex.com/forum/crash-on-t ... t7828.html
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

aravin
Posts: 47
Joined: Mon Mar 09, 2015 7:43 am

Re: App get crashed while tap on element in iOS Instrumented app

Post by aravin » Fri May 08, 2015 8:13 am

Hi odklizec,

I have updated
Ranorex to 5.3.2
Lib to 2.0.2

Issue still exists.


This crash also happen in iOS7.

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

Re: App get crashed while tap on element in iOS Instrumented app

Post by odklizec » Fri May 08, 2015 8:30 am

Hi,

OK, then it's most probably something else? I'm afraid, it would be next to impossible to help you without some details about the crash and app under test. Ranorex support may need any kind of crash/debug log, exact place where it crashes, more details about your app (is it made with pure Objective C or with some 3rd party tool), etc. I would suggest you to contact them directly at [email protected]
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

aravin
Posts: 47
Joined: Mon Mar 09, 2015 7:43 am

Re: App get crashed while tap on element in iOS Instrumented app

Post by aravin » Fri May 15, 2015 6:13 am

The Explorer & Ranorex Team,

I have found that app was build using https://github.com/steipete/PSTCollectionView.

While tapping on that custom collection lead to app crash, do Ranorex have any alternative solution to perform click operation without app crash.

Error log from XCODE

Code: Select all

2015-05-15 18:34:12.223 IKEA iPhone[22059:394467] Capture screenshot for view of type UIButton
2015-05-15 18:34:12.223 IKEA iPhone[22059:394467] ScreenWillrotate: 0
2015-05-15 18:34:12.223 IKEA iPhone[22059:394467] Will rotate for: 0.000000
2015-05-15 18:34:12.244 IKEA iPhone[22059:394467] VVVV keys_dashboardstate
2015-05-15 18:34:14.081 IKEA iPhone[22059:394467] Capture screenshot for view of type PSTCollectionView
Assertion failed: (transform_is_valid(e)), function CGPathRef CGPathCreateWithRect(CGRect, const CGAffineTransform *), file Paths/CGPath.cc, line 179.
Machine OS: Windows 7
Device OS: iOS 8.0

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: App get crashed while tap on element in iOS Instrumented app

Post by Support Team » Tue May 19, 2015 9:38 am

Hello aravin,

Maybe you could try to use a coordinate-based touch event against the parent element of the "failing" element.
iOSTouch.png
Regards,
Robert
You do not have the required permissions to view the files attached to this post.

aravin
Posts: 47
Joined: Mon Mar 09, 2015 7:43 am

Re: App get crashed while tap on element in iOS Instrumented app

Post by aravin » Tue May 19, 2015 10:17 am

Hi Ranorex Team,

I am not using Co-ordinate.

I am using RXPATH value only!

This issue occurs in iPad with iOS8, iPad with iOS7.
Works fine in iPad(iOS6), iPhone4,5,6 (any OS).

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: App get crashed while tap on element in iOS Instrumented app

Post by Support Team » Wed May 20, 2015 9:56 am

Hello aravin,

In order to analyze you issue in more detail, we would need more information about your application. Please send an e-mail to [email protected]

Thanks,
Robert

chethshetty
Posts: 13
Joined: Wed Apr 09, 2014 5:18 pm

Re: App get crashed while tap on element in iOS Instrumented app

Post by chethshetty » Mon Jun 22, 2015 2:35 pm

Hi Team,

Similar issue even i am facing with Ranorex.
We have an iOS Application which need to be automated. I have integrated the Ranorex library into the ipa file. all works fine. Now our app is crashing when tap on a specific view controller. This crash do not occur without instrumenting.

Is there any solution?
If needed i can share the crash logs.

Device OS: iOS 8.3 iPad Air
Ranorex : 5.3.2
Ranorex Lib : 2.0.2

Please note, We have instrumented the App using Ranorex and not Xcode.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: App get crashed while tap on element in iOS Instrumented app

Post by Support Team » Tue Jun 23, 2015 8:45 am

Hi chethshetty,

Please send the crash logs to [email protected].

Thank you in advance.

Regards,
Robert

stapes
Posts: 206
Joined: Wed Sep 16, 2015 10:55 am

Re: App get crashed while tap on element in iOS Instrumented app

Post by stapes » Tue Oct 27, 2015 3:49 pm

I am also getting this problem with a Test Suite that worked perfectly last week. There may have been some automatic update from iPad. It appears to have upgraded to iOS 9.1

There were no other changes.