Page 1 of 1

App get crashed while tap on element in iOS Instrumented app

Posted: Fri May 08, 2015 7:02 am
by aravin
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.

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

Posted: Fri May 08, 2015 7:19 am
by odklizec
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

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

Posted: Fri May 08, 2015 8:13 am
by aravin
Hi odklizec,

I have updated
Ranorex to 5.3.2
Lib to 2.0.2

Issue still exists.


This crash also happen in iOS7.

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

Posted: Fri May 08, 2015 8:30 am
by odklizec
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]

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

Posted: Fri May 15, 2015 6:13 am
by aravin
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

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

Posted: Tue May 19, 2015 9:38 am
by Support Team
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

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

Posted: Tue May 19, 2015 10:17 am
by aravin
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).

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

Posted: Wed May 20, 2015 9:56 am
by Support Team
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

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

Posted: Mon Jun 22, 2015 2:35 pm
by chethshetty
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.

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

Posted: Tue Jun 23, 2015 8:45 am
by Support Team
Hi chethshetty,

Please send the crash logs to [email protected].

Thank you in advance.

Regards,
Robert

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

Posted: Tue Oct 27, 2015 3:49 pm
by stapes
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.