Test Manager — Reliance Jio Infocommunications Limited
Let’s see how we can automate mobile UI using python uiautomator module. It works on Android 4.1 + .
Install python 2.7 on your system.First you need to install uiautomator package
Let us see how we can automate the YouTube and browsing
1. Launching YouTube and play video
To do so we have to fire below adb shell command
adb shell am start…
1. How to launch music player and play music automatically?
To do so you have to use below adb command
adb shell am start -a android.intent.action.VIEW -d file:///sdcard/music/test.MP3 -t audio/mp3"
1. adb install command
This command is used to install an app on your device using adb command. Once the app is installed an icon appear on your device.
There are few media related adb commands which are as below
1. adb command to capture video
This command is use to launch the camera app in video recording mode.
adb shell am start -a…