Device Mirror

Mobile Testing, Android App Testing.
Pyaman
Posts: 2
Joined: Fri Mar 11, 2016 10:21 am

Device Mirror

Post by Pyaman » Fri Mar 11, 2016 10:31 am

hi! just tried your automation framework. I like your View Spy. :)
but how i identify control on mobile? Android and iOS.
is there any kind of Screen Mirror in your product? Really frustrated if not.
mirroring supporting is easy.
1. For Android you can use UIAutomator to take screenshot (Need to setup an TCP server in device side). So we can capture 4 or 5 frames per second. This is enough.
2. For iOS you can use libimobiledevice to take device screenshot. It requires a MAC with XCode installed. I've tried it on iPhone, the capturing speed is good. but not so good on iPad Air (one frame per second :cry: ).

Good luck.

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

Re: Device Mirror

Post by Support Team » Mon Mar 14, 2016 3:21 pm

Hello Pyaman,

Welcome to the Ranorex forum.

Generally, it is possible to identify UI elements in mobile applications with Ranorex Spy in the same way as for desktop applications. If an element is selected in the UI tree, the corresponding screenshot will be displayed in Ranorex Spy.
ranorex_spy_mobile_app.png
ranorex_spy_mobile_app.png (104.15 KiB) Viewed 948 times
Detailed information about automating Android and iOS apps can be found in our user guide.

I hope this information will help you.

Sincerely,
Johannes
.
Image

Pyaman
Posts: 2
Joined: Fri Mar 11, 2016 10:21 am

Re: Device Mirror

Post by Pyaman » Tue Mar 29, 2016 9:10 am

just tried the 'Device Mirror'. seems not update picture.
sadly my AUT was crashed in HTC LTE4G.
steps:
1. Install AUT via View Spy.
2. Start AUT and click 'Login' button.
3. observed: AUT crashed :wink:
The AUT is in the attachment.

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

Re: Device Mirror

Post by Support Team » Wed Mar 30, 2016 1:43 pm

Hello Pyaman,

Unfortunately, your blog entry doesn't contain an attachment.
I would suggest sending the APK file including the error description to [email protected].

We look forward to hearing from you.

Sincerely,
Johannes
.
Image