Search found 28 matches

by thilina
Mon Oct 30, 2017 5:41 am
Forum: Mobile Testing
Topic: Error when instrumenting android app
Replies: 3
Views: 2233

Re: Error when instrumenting android app

could fix this by updating the apktool manually to latest version.

apktool is here
C:\Program Files (x86)\Ranorex 6.1\Bin\RxEnv\Android\tools\apkTool

after that make sure to delete 1.apk below as well
%UserProfile%\AppData\Local\apktool\framework
by thilina
Thu Oct 26, 2017 11:00 am
Forum: Mobile Testing
Topic: Error when instrumenting android app
Replies: 3
Views: 2233

Error when instrumenting android app

Error when instrumenting android app i get below error during the instrumenting of the app. System.Exception: Failed to recompile the instrumented code. See details for more information: W: C:\Users\thi.SL\AppData\Local\RanorexStudio6\RxEnv\Android\temp\decomp\res\drawable-hdpi-v4\barcode_btn_64x48....
by thilina
Thu Oct 26, 2017 7:53 am
Forum: Automation Tools
Topic: Instrumented Android APK failed (Error occurred)
Replies: 12
Views: 3706

Re: Instrumented Android APK failed (Error occurred)

i followed all the work arounds suggested above
by thilina
Fri Oct 20, 2017 8:27 am
Forum: Automation Tools
Topic: Instrumented Android APK failed (Error occurred)
Replies: 12
Views: 3706

Re: Instrumented Android APK failed (Error occurred)

any update about the solution,
i'm also getting this in our new version of the app
by thilina
Fri Aug 25, 2017 1:54 pm
Forum: Mobile Testing
Topic: deployment of apk with instrumentation raises Exception
Replies: 13
Views: 6703

Re: deployment of apk with instrumentation raises Exception

Found the issue .\Ranorex.Instrumentation.exe /p:"android" /a:"app-dev.apk" /d:"MyDevice" /skip:False /deploymode:Usb /InstrumentationFlags:'"'-static -multidex'"' /EnableWebTesting:True /TreeSimplification:True /FullImageComparison:True /deploytimeout:0 /instrumenttimeout:0 ' " ' need to enclose si...
by thilina
Fri Aug 25, 2017 1:25 pm
Forum: Mobile Testing
Topic: deployment of apk with instrumentation raises Exception
Replies: 13
Views: 6703

Re: deployment of apk with instrumentation raises Exception

Hello all, both should be possible. Instrumentation using command line: C:\Program Files (x86)\Ranorex 5.4\Bin>Ranorex.Instrumentation.exe /p:android /d:"YourDevice" /a:"T:\usr\TEST.apk" /dm:WiFi /InstrumentationFlags:"-static -multidex" Instrumentation in user code: InstrumentApkOptions o = new In...
by thilina
Thu Jul 13, 2017 12:50 pm
Forum: Mobile Testing
Topic: Some times Ranorex can't click on the permission dialog
Replies: 5
Views: 2591

Re: Some times Ranorex can't click on the permission dialog

I added

Code: Select all

<uses-permission android:name="android.permission.CALL_PHONE"/>
permission to AndroidManifest.xml file, and it solved that exception throwing when grant command.
by thilina
Thu Jul 13, 2017 12:45 pm
Forum: Mobile Testing
Topic: Android action bar can't be seen by the Ranorex Spy
Replies: 15
Views: 5037

Re: Android action bar can't be seen by the Ranorex Spy

thank you for Prompt support via support email,

workaround was to creating touch actions with relative coordinates on the form element

e.g. - coordinates: .9;.05 - clicking a position is measured as a percentage of the screen
by thilina
Thu Jul 13, 2017 11:25 am
Forum: Mobile Testing
Topic: Some times Ranorex can't click on the permission dialog
Replies: 5
Views: 2591

Re: Some times Ranorex can't click on the permission dialog

Yes, i'm also using following adb commands for permission adb shell pm grant pnl.order.dev android.permission.ACCESS_FINE_LOCATION adb shell pm grant pnl.order.dev android.permission.WRITE_EXTERNAL_STORAGE adb shell pm grant pnl.order.dev android.permission.CAMERA adb shell pm grant pnl.order.dev an...
by thilina
Wed Jul 12, 2017 12:27 pm
Forum: Mobile Testing
Topic: Some times Ranorex can't click on the permission dialog
Replies: 5
Views: 2591

Re: Some times Ranorex can't click on the permission dialog

when we are testing we have to install the app. after doing it prompts this. isn't there any workaround even ?
by thilina
Tue Jul 11, 2017 1:30 pm
Forum: Mobile Testing
Topic: Some times Ranorex can't click on the permission dialog
Replies: 5
Views: 2591

Some times Ranorex can't click on the permission dialog

Some times Ranorex can't click on the android permission dialog.
patterns_permissions_runtime1.png

this how i find it
Capture.PNG
P.S. Android OS automation = True

please tell us how to do it
by thilina
Fri Jun 30, 2017 6:21 am
Forum: Mobile Testing
Topic: Android action bar can't be seen by the Ranorex Spy
Replies: 15
Views: 5037

Re: Android action bar can't be seen by the Ranorex Spy

sent the apk to support, and waiting for reply
by thilina
Wed Jun 28, 2017 7:10 am
Forum: Mobile Testing
Topic: Android action bar can't be seen by the Ranorex Spy
Replies: 15
Views: 5037

Re: Android action bar can't be seen by the Ranorex Spy

i can send the APK to Ranorex support, can you PM an E-mail address to send it.
by thilina
Tue Jun 27, 2017 8:36 am
Forum: Mobile Testing
Topic: Android action bar can't be seen by the Ranorex Spy
Replies: 15
Views: 5037

Re: Android action bar can't be seen by the Ranorex Spy

i tried with Android 5.0.1 still the same. not possible to click that button from Ranorex
by thilina
Tue Jun 27, 2017 7:55 am
Forum: Mobile Testing
Topic: Android action bar can't be seen by the Ranorex Spy
Replies: 15
Views: 5037

Re: Android action bar can't be seen by the Ranorex Spy

Hello thilina, 1. Is this on every version of Android or just on 4.4.3? 2. There is supposed to be an additional action bar on the top, above "delivery scan"? Android.png 3. Could you also send a snapshot with "Android OS Automation = False"? Regards, McTurtle 1. I tried only with 4.4.3 2. that is ...