Instrumentation IPA with PP and Certs Fail

Mobile Testing, Android App Testing.
doxuandong
Posts: 1
Joined: Thu Nov 02, 2017 5:26 am

Instrumentation IPA with PP and Certs Fail

Post by doxuandong » Thu Nov 02, 2017 5:34 am

When instrumentation fail, some log lines in /Document/Ranorex/Logs/.. as below:
----------------------------------------------------------------------------------------------------------------------------
2017-10-30 19:59:50.463| WARN|Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosInstrumentationConfig|Loading the configuration parameter 'plugin.mobile.ios.p12path' failed default value '' will be used.
Ranorex.RanorexException: Configuration parameter 'plugin.mobile.ios.p12path' does not exist.
at Ranorex.Core.Configuration.Get[T](String name)
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosInstrumentationConfig.GetConfigParameterSafe[T](Configuration config, String paramName, T defaultValue)
2017-10-30 19:59:50.479| WARN|Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosInstrumentationConfig|Loading the configuration parameter 'plugin.mobile.ios.p12password' failed default value 'System.Byte[]' will be used.
Ranorex.RanorexException: Configuration parameter 'plugin.mobile.ios.p12password' does not exist.
at Ranorex.Core.Configuration.Get[T](String name)
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosInstrumentationConfig.GetConfigParameterSafe[T](Configuration config, String paramName, T defaultValue)
2017-10-30 19:59:50.479| WARN|Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosInstrumentationConfig|Loading the configuration parameter 'plugin.mobile.ios.provisionpath' failed default value '' will be used.
Ranorex.RanorexException: Configuration parameter 'plugin.mobile.ios.provisionpath' does not exist.
at Ranorex.Core.Configuration.Get[T](String name)
------------------------------------------------------------------------------------------------
Please help me to resolve.
Thanks

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

Re: Instrumentation IPA with PP and Certs Fail

Post by Support Team » Fri Nov 03, 2017 3:02 pm

Hi doxuandong,

Thank you for posting your issue here in the Ranorex forum.
According to the log messages, it seems that the p12 and the mobile provision profile cannot be found.
May I ask you if you have stored those files on a network drive? If so, please copy them to a local folder on your machine and repeat the instrumentation process.
In addition, please let me know which version of Ranorex and OS you are using.

Thank you in advance.

Best regards,
Markus (S)
.
Image