Page 1 of 1

Access google map view inside a native android application

Posted: Mon Jan 02, 2017 11:43 am
by sandamal
Hi , this question might have asked before but couldn't find a specific solution yet :(

Im automating a Android application (kind of a order management) and when open order details it loads a google map part inside a view which plot the order location,

As you may have experienced ranorex is failing to identify this google map elements (loads as a blank view), :cry:

Im trying to integrate appium to pass that part of the test but still no luck.( issues like appium aslo trying to reload the activity )

can anyone suggest a solution on this. (I need to click on the plot in map and verify the label text)
:oops:

Re: Access google map view inside a native android application

Posted: Mon Jan 02, 2017 12:37 pm
by Support Team
Hi Sandamal,

To interact with the Google Maps elements, it is necessary to sign the instrumented application using the same certificate that was used during the build of the APK file.
To set these additional parameters, please open the "Settings..." dialog as shown below.
Android_settings.png

Afterwards, please enter the “APK Signing” details.
Android_Settings_2.png

Please ensure that the same signing is used for building and instrumenting the APK and that you need to enter the JDK bin path manually.

I hope this solves your problem.

Regards,
Markus (S)

Re: Access google map view inside a native android application

Posted: Tue Jan 03, 2017 1:33 pm
by sandamal
Support Team wrote:Hi Sandamal,

To interact with the Google Maps elements, it is necessary to sign the instrumented application using the same certificate that was used during the build of the APK file.
To set these additional parameters, please open the "Settings..." dialog as shown below.
Android_settings.png

Afterwards, please enter the “APK Signing” details.
Android_Settings_2.png

Please ensure that the same signing is used for building and instrumenting the APK and that you need to enter the JDK bin path manually.

I hope this solves your problem.

Regards,
Markus (S)
Hi , I followed the above and still it is failing to identify the google map view. is there a way for me to share the snapshot with you and get an advice ?