Ui Automator Test Through Command

1160 ワード

問題の説明:
adb shell uiautomator runtestコマンドでjavaテスト例を直接実行します.
 
コマンド解析:
   adb shell uiautomator runtest <JARS> -c <CLASSES> [options]

       example:
   adb shell uiautomator runtest LaunchSettings.jar -c com.uia.example.my.LaunchSettings



参考資料:https://developer.android.com/tools/help/uiautomator/index.html