Automation of Android Camera App

Mobile Testing, Android App Testing.
dob
Posts: 1
Joined: Mon Sep 14, 2020 9:11 am

Automation of Android Camera App

Post by dob » Mon Sep 14, 2020 10:27 am

Dear all,

I'm currently trying to automate an Android application that allows the user to take photos from within the app by utilizing the system's built in camera app. The phone is a Samsung S10e with Android 10 attached via USB (Ranorex v9.3.2). I already learned that without instrumentation the camera might not be automated properly (old post from 2014: to-test-camera-featute-is-available-t5758.html).

I also found the "Android OS automation" flag in the settings and enabled it (https://www.ranorex.com/help/latest/web ... stem-apps/). I was able to sometimes get a snapshot of the camera app, but I was not able to interact with it in any way (timeout).

Is there any workaround that might be used to trigger a photo? I was thinking about using a "raw" touch-action at specific x-/y-coordinates without any os-element being used.

Many thanks and best regards,
Dominik

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

Re: Automation of Android Camera App

Post by Support Team » Fri Sep 25, 2020 7:27 pm

Hi!

Please contact us via the links below and we will be more than happy to further assist you with this! Kind Regards,
Ranorex Team

nancys
Posts: 1
Joined: Mon Mar 22, 2021 4:20 pm

Re: Automation of Android Camera App

Post by nancys » Mon Mar 22, 2021 4:24 pm

Can you make an aumation system for the Google Camera?