androidiosautomationrobotiumcalabash

iOS/Android automation to interact with third party applications?


I'm looking for various automation suites that can automate iOS / Android. I have an application that uses the third party Video/Audio/Photo/ from the native OS.

I was using Robotium with android before but I couldn't get it to take a photo/video/audio etc and research on google stated this wasn't possible.



I also attempted to use Calabash-iOs/ Calabash-Android but ran into the same problem when trying to take the video/photo/audio from an application outside the testing application.


Any recommendations for testing suite for iOS And/or Android?

Thanks!


Solution

  • uiautomator allows to automate features you need.

    It can access system features and pre-installed apps. UI Automator is an Android library created by Google that enables UI testing on visible elements on the screen, agnostic of the running application. UI Automator works with AndroidJUnitRunner, allowing developers to write complex, repeatable UI tests directly in Kotlin.

    The drawbacks include:

    1. Only languages for development are Java and/or Kotlin
    2. It requires Android 4.3 (API level 18) or later

    P.S. Calabash and Robotium will not help to automate third party apps. I've used them both.