Search code examples
android-uiautomator

How to script MO call and browsing on 2 devices from UIAutomator for Android devices


I am new to UIAutomator for android devices. I am writing these scripts in eclipse IDE using JAVA.

I need one sample script for automating call scenario where i call from one phone and recieve the call from another phone and then i am browsing from first phone. Can we do this from one single script ?


Solution

  • As Uiautomator scripts run from the device under test, it would not be possible to test call-receive scenario using UIautomator framework. Instead have a look at android MonkeyRunner framework. MonkeyRunner will allow you to control multiple devices from your PC.