access log files on Android device

Mobile Testing, Android App Testing.
zivshapirawork
Posts: 65
Joined: Wed Sep 24, 2014 7:47 am
Location: Israel

access log files on Android device

Post by zivshapirawork » Mon Apr 20, 2015 7:05 am

Hi

Is it possible to access log files that are created by an app through the Ranorex user code? (android-based mobile device). The files are under /storage/sdcard0/

thanks

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

Re: access log files on Android device

Post by Support Team » Thu Apr 23, 2015 1:35 pm

Hello zivshapirawork,

Unforutnately, it's not possible to access files from your mobile device, but you could e.g., use the Android Debug Bridge. Please find further information here:
http://log.amitshah.net/2012/05/using-a ... id-device/

Regards,
Robert

zivshapirawork
Posts: 65
Joined: Wed Sep 24, 2014 7:47 am
Location: Israel

Re: access log files on Android device

Post by zivshapirawork » Sun Apr 26, 2015 6:27 am

Thanks Robert

This looks interesting, I will try it out for writing file to the device. For those interested, in order to read log files, I used a file-explorer type of app (apk), instrumented it and reached the files content via that app and a Ranorex recording.

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

Re: access log files on Android device

Post by Support Team » Mon Apr 27, 2015 2:58 pm

Hi zivshapirawork,

Thank you for sharing your experience.

Regards,
Robert