ADB Tutorial: How to use ADB
In this ADB Tutorial we will explore some of the more common ADB commands out there. Those are useful both for manual testing and in test automation scripts. Those ADB commands will be the same whether you are on Windows, Mac, or Linux.
Learn how to use ADB commands in Java + Appium Automation framework: https://www.youtube.com/watch?v=fzou-tKQJTU
Here is the list of the ADB commands that we covered in this video:
Tell ADB which device to execute command on: adb -s *device id*
Install application: adb install *path to file*
Uninstall application: adb uninstall *package id*
Get info about activity in focus: adb shell dumpsys window windows | findstr Focus
Take Log from buffer: adb logcat -d
Clear Log buffer: adb logcat -c
Take Log continuously: adb logcat
Take Screenshot: adb shell screencap /sdcard/Android/screenshot.png
Pull/Copy Files from Android device: adb pull /sdcard/Android/log.txt
Push/Copy Files to Android device: adb push example.txt /sdcard/Android
Open device's shell: adb shell
Clear application's data: adb shell pm clear *package id*
Force-Stop application: adb shell am force-stop *package id*
Open application's activity: adb shell am start -c api.android.intent.LAUNCHER -a api.android.category.MAIN -n *package/activity*
Send Android Keyevent: adb shell input keyevent 3
Send Text: adb shell input text "Artur"
Dumpsys debug utility: adb shell dumpsys | findstr "DUMP OF SERVICE"
Device Properties: adb shell getprop *key*
Видео ADB Tutorial: How to use ADB канала Artur Spirin
Learn how to use ADB commands in Java + Appium Automation framework: https://www.youtube.com/watch?v=fzou-tKQJTU
Here is the list of the ADB commands that we covered in this video:
Tell ADB which device to execute command on: adb -s *device id*
Install application: adb install *path to file*
Uninstall application: adb uninstall *package id*
Get info about activity in focus: adb shell dumpsys window windows | findstr Focus
Take Log from buffer: adb logcat -d
Clear Log buffer: adb logcat -c
Take Log continuously: adb logcat
Take Screenshot: adb shell screencap /sdcard/Android/screenshot.png
Pull/Copy Files from Android device: adb pull /sdcard/Android/log.txt
Push/Copy Files to Android device: adb push example.txt /sdcard/Android
Open device's shell: adb shell
Clear application's data: adb shell pm clear *package id*
Force-Stop application: adb shell am force-stop *package id*
Open application's activity: adb shell am start -c api.android.intent.LAUNCHER -a api.android.category.MAIN -n *package/activity*
Send Android Keyevent: adb shell input keyevent 3
Send Text: adb shell input text "Artur"
Dumpsys debug utility: adb shell dumpsys | findstr "DUMP OF SERVICE"
Device Properties: adb shell getprop *key*
Видео ADB Tutorial: How to use ADB канала Artur Spirin
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Flutter Tutorial for Beginners - Build iOS and Android Apps with Google's Flutter & DartBeginner's Guide to the Bash TerminalHow to ADB: An Introduction to ADB Commands and FastbootThe Best Way To Install & Setup The Android Debug Bridge (ADB) On Your PCHow to install the Android SDK and run ADB ShellHow to use ADB and scrcpy to interact with your Android phoneADB | Android Debug Bridge | Introduction & SetupCollect ADB logs using simple ADB commandsAndroid Debug Bridge (ADB)Linux Command Line Full course: Beginners to Experts. Bash Command Line TutorialsAutomating Android Games with Python: Simon Says (Top Score)How to apply a SPECIFIC ANIMATION SCALE in android with ADB [really easy tutorial]Software Testing Mock Interview | Interviewing my Subscriber from Belgium | API & Manual TestingInstall latest ADB and Fastboot Drivers on Windows 10How to Setup ADB, Fastboot & USB Drivers on Windows (Easiest Method)ADB Explained in 5 Minutes or Less | #ExplainMeFast | Episode 2 | TechAasaanTV [HINDI]Automate Repeated Stuff - Using ADB (adb push & pull)how to use adb pull command to copy file from android system to local systemHow to install and fully set up adb (Android Debug Bridge) - Step-by-step Guide[Windows] Android Acquisition using ADB, root, ncat and DD