Instrumentation failed Ranorex 9.0.1

Mobile Testing, Android App Testing.
Cavite17
Posts: 1
Joined: Tue May 21, 2019 5:31 am

Instrumentation failed Ranorex 9.0.1

Post by Cavite17 » Tue May 21, 2019 5:49 am

Hi all,

This is my first time to instrument an app(Google Chrome) on Mobile-Android. And tried several times the instructions indicated on Ranorex User Guide > Instrumentation > Android App

After doing this,
Ranorex_Instrument.PNG
I always getting this error after I instrument Google Chrome app.
Ranorex_Error1.PNG
Here are the error details:

System.Exception: Main activity or alias could not be found in manifest.
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.AndroidManifest.GetMainActivity(XmlDocument xmlDoc)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.ProcessManifest(String manifestPath, DecompileInfo& dcInfo, InstrumentApkOptions instrumentOptions)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.DecompileApkFile(String apkFilePath, Boolean showProcessWindows, IPathService pathService, InstrumentApkOptions deployOptions)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.Instrument(String apkFilePath, InstrumentApkOptions deployOptions, BackgroundWorker bgw)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
at Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)


I'm already using the latest apktool v2.4.0.

Are there anyone who can help me?
You do not have the required permissions to view the files attached to this post.

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

Re: Instrumentation failed Ranorex 9.0.1

Post by Support Team » Wed May 22, 2019 12:27 pm

Hello,

It's not possible to instrument the official Chrome app. Please use the RxBrowser instead: https://www.ranorex.com/help/latest/web ... ment-apps/

Sincerely,
Robert